{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\hilar\Box\lights_2022\replication package\code\reg_main.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}11 Jan 2026, 09:52:00
{txt}
{com}. timer on 1
{txt}
{com}. 
. use for_reg.dta, clear
{txt}
{com}. 
. egen cellid=group(x y)
{res}{txt}
{com}. xtset cellid year
{res}
{col 1}{txt:Panel variable: }{res:cellid}{txt: (unbalanced)}
{p 1 16 2}{txt:Time variable: }{res:year}{txt:, }{res:{bind:2000}}{txt: to }{res:{bind:2011}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. 
. *explicit interactions so can use "absorb"
. egen contXyear=group(continent year)
{res}{txt}(58,291 missing values generated)

{com}. 
. * main specification controls for cubic in temperature
. macro define weather "c.dev_tmp##c.dev_tmp##c.dev_tmp"
{txt}
{com}. * to check senstivity to adding precip
. *macro define weather "c.dev_tmp##c.dev_tmp##c.dev_tmp c.dev_precip##c.dev_precip##c.dev_precip"
. 
. *to allowing looping, create drought vars with comparable names
. gen rdsi_cat=dsi_cat11
{txt}(17,431 missing values generated)

{com}. gen esmrdsi=esmdsi
{txt}(17,431 missing values generated)

{com}. label values rdsi_cat cat11
{txt}
{com}. label var esmrdsi "Moderate or worse drought (DSI)" 
{txt}
{com}. 
. 
. **# Figure 1 and Appendix Tables C1 and C2 (Full set of drought conditions, no mediators)
. foreach v in r p {c -(}
{txt}  2{com}. xtreg ihslights ib6.`v'dsi_cat if flare==0, fe vce(cluster conpfaf4) absorb(contXyear)
{txt}  3{com}. quietly estadd local cellfe "Yes", replace
{txt}  4{com}. quietly estadd local contyr "Yes", replace
{txt}  5{com}. quietly estadd local tempeff "No", replace
{txt}  6{com}. estimates store `v'dsi_basic
{txt}  7{com}. 
. 
. **add temperature data 
. xtreg ihslights ib6.`v'dsi_cat $weather if flare==0, fe vce(cluster conpfaf4) absorb(contXyear)
{txt}  8{com}. quietly estadd local cellfe "Yes", replace
{txt}  9{com}. quietly estadd local contyr "Yes", replace
{txt} 10{com}. quietly estadd local tempeff "No", replace
{txt} 11{com}. estimates store `v'dsi_withtemp
{txt} 12{com}. 
. xtreg ihslights esm`v'dsi $weather if flare==0, fe vce(cluster conpfaf4) absorb(contXyear)
{txt} 13{com}. quietly estadd local cellfe "Yes", replace
{txt} 14{com}. quietly estadd local contyr "Yes", replace
{txt} 15{com}. quietly estadd local tempeff "No", replace
{txt} 16{com}. estimates store `v'dsi_binary
{txt} 17{com}. {c )-}
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 1.097e-14

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.142e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}      4.27
{txt}Iteration 2:  Maximum absolute difference = {res} 1.349e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   454,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,853

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2135{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0011{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0000{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}10{txt}, {res}6138{txt}){col 67}={col 70}{res}    11.51
{txt}corr(u_i, Xb) = {res}-0.0025{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 86:(Std. err. adjusted for {res:6,139} clusters in {res:conpfaf4})}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}           ihslights{col 22}{c |} Coefficient{col 34}  std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}rdsi_cat {c |}
{space 4}Extreme drought  {c |}{col 22}{res}{space 2}-.0181902{col 34}{space 2} .0028887{col 45}{space 1}   -6.30{col 54}{space 3}0.000{col 62}{space 4}-.0238531{col 75}{space 3}-.0125273
{txt}{space 5}Severe drought  {c |}{col 22}{res}{space 2}-.0094247{col 34}{space 2} .0021325{col 45}{space 1}   -4.42{col 54}{space 3}0.000{col 62}{space 4}-.0136051{col 75}{space 3}-.0052442
{txt}{space 3}Moderate drought  {c |}{col 22}{res}{space 2}  -.00858{col 34}{space 2} .0016778{col 45}{space 1}   -5.11{col 54}{space 3}0.000{col 62}{space 4}-.0118691{col 75}{space 3}-.0052909
{txt}{space 7}Mild drought  {c |}{col 22}{res}{space 2}-.0041095{col 34}{space 2} .0013226{col 45}{space 1}   -3.11{col 54}{space 3}0.002{col 62}{space 4}-.0067022{col 75}{space 3}-.0015168
{txt}{space 2}Incipient drought  {c |}{col 22}{res}{space 2}-.0024776{col 34}{space 2} .0010406{col 45}{space 1}   -2.38{col 54}{space 3}0.017{col 62}{space 4}-.0045175{col 75}{space 3}-.0004378
{txt}Incipient wet spell  {c |}{col 22}{res}{space 2} .0017716{col 34}{space 2} .0009091{col 45}{space 1}    1.95{col 54}{space 3}0.051{col 62}{space 4}-.0000106{col 75}{space 3} .0035538
{txt}{space 7}Slightly wet  {c |}{col 22}{res}{space 2} .0037666{col 34}{space 2}  .001212{col 45}{space 1}    3.11{col 54}{space 3}0.002{col 62}{space 4} .0013905{col 75}{space 3} .0061426
{txt}{space 5}Moderately wet  {c |}{col 22}{res}{space 2} .0071267{col 34}{space 2} .0015138{col 45}{space 1}    4.71{col 54}{space 3}0.000{col 62}{space 4} .0041592{col 75}{space 3} .0100943
{txt}{space 11}Very wet  {c |}{col 22}{res}{space 2} .0098764{col 34}{space 2} .0019055{col 45}{space 1}    5.18{col 54}{space 3}0.000{col 62}{space 4} .0061411{col 75}{space 3} .0136118
{txt}{space 6}Extremely wet  {c |}{col 22}{res}{space 2}  .014049{col 34}{space 2} .0030743{col 45}{space 1}    4.57{col 54}{space 3}0.000{col 62}{space 4} .0080224{col 75}{space 3} .0200757
{txt}{space 20} {c |}
{space 15}_cons {c |}{col 22}{res}{space 2} .5654755{col 34}{space 2} .0006291{col 45}{space 1}  898.91{col 54}{space 3}0.000{col 62}{space 4} .5642423{col 75}{space 3} .5667087
{txt}{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             sigma_u {c |} {res}  .9041148
             {txt}sigma_e {c |} {res} .13477845
                 {txt}rho {c |} {res} .97826056{txt}   (fraction of variance due to u_i)
{hline 21}{c BT}{hline 64}
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.278e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 4.539e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.268
{txt}Iteration 2:  Maximum absolute difference = {res} 1.295e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,828
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,319

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2194{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0147{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0014{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}13{txt}, {res}6127{txt}){col 67}={col 70}{res}    20.33
{txt}corr(u_i, Xb) = {res}0.0345{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 21}rdsi_cat {c |}
{space 13}Extreme drought  {c |}{col 31}{res}{space 2}-.0154191{col 43}{space 2} .0028381{col 54}{space 1}   -5.43{col 63}{space 3}0.000{col 71}{space 4}-.0209827{col 84}{space 3}-.0098555
{txt}{space 14}Severe drought  {c |}{col 31}{res}{space 2}-.0078397{col 43}{space 2} .0021116{col 54}{space 1}   -3.71{col 63}{space 3}0.000{col 71}{space 4}-.0119792{col 84}{space 3}-.0037003
{txt}{space 12}Moderate drought  {c |}{col 31}{res}{space 2}-.0071808{col 43}{space 2} .0016844{col 54}{space 1}   -4.26{col 63}{space 3}0.000{col 71}{space 4}-.0104827{col 84}{space 3}-.0038788
{txt}{space 16}Mild drought  {c |}{col 31}{res}{space 2}-.0032669{col 43}{space 2} .0013337{col 54}{space 1}   -2.45{col 63}{space 3}0.014{col 71}{space 4}-.0058815{col 84}{space 3}-.0006523
{txt}{space 11}Incipient drought  {c |}{col 31}{res}{space 2}-.0020239{col 43}{space 2}  .001047{col 54}{space 1}   -1.93{col 63}{space 3}0.053{col 71}{space 4}-.0040763{col 84}{space 3} .0000285
{txt}{space 9}Incipient wet spell  {c |}{col 31}{res}{space 2} .0016147{col 43}{space 2} .0009128{col 54}{space 1}    1.77{col 63}{space 3}0.077{col 71}{space 4}-.0001746{col 84}{space 3} .0034041
{txt}{space 16}Slightly wet  {c |}{col 31}{res}{space 2} .0033165{col 43}{space 2} .0012228{col 54}{space 1}    2.71{col 63}{space 3}0.007{col 71}{space 4} .0009193{col 84}{space 3} .0057137
{txt}{space 14}Moderately wet  {c |}{col 31}{res}{space 2} .0066447{col 43}{space 2} .0015303{col 54}{space 1}    4.34{col 63}{space 3}0.000{col 71}{space 4} .0036447{col 84}{space 3} .0096447
{txt}{space 20}Very wet  {c |}{col 31}{res}{space 2} .0094707{col 43}{space 2} .0019325{col 54}{space 1}    4.90{col 63}{space 3}0.000{col 71}{space 4} .0056823{col 84}{space 3}  .013259
{txt}{space 15}Extremely wet  {c |}{col 31}{res}{space 2} .0134856{col 43}{space 2} .0031198{col 54}{space 1}    4.32{col 63}{space 3}0.000{col 71}{space 4} .0073697{col 84}{space 3} .0196015
{txt}{space 29} {c |}
{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0106604{col 43}{space 2} .0021775{col 54}{space 1}   -4.90{col 63}{space 3}0.000{col 71}{space 4}-.0149291{col 84}{space 3}-.0063916
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0113009{col 43}{space 2} .0021467{col 54}{space 1}   -5.26{col 63}{space 3}0.000{col 71}{space 4}-.0155091{col 84}{space 3}-.0070927
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0039513{col 43}{space 2} .0016608{col 54}{space 1}   -2.38{col 63}{space 3}0.017{col 71}{space 4} -.007207{col 84}{space 3}-.0006955
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5695548{col 43}{space 2} .0008438{col 54}{space 1}  674.96{col 63}{space 3}0.000{col 71}{space 4} .5679006{col 84}{space 3}  .571209
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90321043
                      {txt}sigma_e {c |} {res} .13408237
                          {txt}rho {c |} {res} .97843753{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.278e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 4.539e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.269
{txt}Iteration 2:  Maximum absolute difference = {res} 1.471e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,828
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,319

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2188{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0158{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0016{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}4{txt}, {res}6127{txt}){col 67}={col 70}{res}    46.05
{txt}corr(u_i, Xb) = {res}0.0392{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmrdsi {c |}{col 31}{res}{space 2}-.0109721{col 43}{space 2}  .001611{col 54}{space 1}   -6.81{col 63}{space 3}0.000{col 71}{space 4}-.0141303{col 84}{space 3} -.007814
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0116652{col 43}{space 2} .0021508{col 54}{space 1}   -5.42{col 63}{space 3}0.000{col 71}{space 4}-.0158816{col 84}{space 3}-.0074488
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0113976{col 43}{space 2} .0021589{col 54}{space 1}   -5.28{col 63}{space 3}0.000{col 71}{space 4}-.0156298{col 84}{space 3}-.0071654
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0037024{col 43}{space 2} .0016535{col 54}{space 1}   -2.24{col 63}{space 3}0.025{col 71}{space 4}-.0069438{col 84}{space 3}-.0004611
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5711475{col 43}{space 2}  .000665{col 54}{space 1}  858.91{col 63}{space 3}0.000{col 71}{space 4} .5698439{col 84}{space 3}  .572451
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90317849
                      {txt}sigma_e {c |} {res} .13414012
                          {txt}rho {c |} {res} .97841786{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 8.086e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 3.211e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.298
{txt}Iteration 2:  Maximum absolute difference = {res} 1.150e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   423,960
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,330

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2171{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0000{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0000{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}10{txt}, {res}6036{txt}){col 67}={col 70}{res}     4.98
{txt}corr(u_i, Xb) = {res}-0.0005{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 86:(Std. err. adjusted for {res:6,037} clusters in {res:conpfaf4})}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}           ihslights{col 22}{c |} Coefficient{col 34}  std. err.{col 46}      t{col 54}   P>|t|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}pdsi_cat {c |}
{space 6}Extremely dry  {c |}{col 22}{res}{space 2}-.0135488{col 34}{space 2} .0045144{col 45}{space 1}   -3.00{col 54}{space 3}0.003{col 62}{space 4}-.0223985{col 75}{space 3} -.004699
{txt}{space 7}Severely dry  {c |}{col 22}{res}{space 2}-.0146959{col 34}{space 2} .0025422{col 45}{space 1}   -5.78{col 54}{space 3}0.000{col 62}{space 4}-.0196794{col 75}{space 3}-.0097123
{txt}{space 5}Moderately dry  {c |}{col 22}{res}{space 2}-.0096029{col 34}{space 2}  .001758{col 45}{space 1}   -5.46{col 54}{space 3}0.000{col 62}{space 4}-.0130491{col 75}{space 3}-.0061566
{txt}{space 9}Mildly dry  {c |}{col 22}{res}{space 2}-.0044587{col 34}{space 2} .0012676{col 45}{space 1}   -3.52{col 54}{space 3}0.000{col 62}{space 4}-.0069437{col 75}{space 3}-.0019736
{txt}{space 2}Incipient drought  {c |}{col 22}{res}{space 2} -.001857{col 34}{space 2} .0010603{col 45}{space 1}   -1.75{col 54}{space 3}0.080{col 62}{space 4}-.0039354{col 75}{space 3} .0002215
{txt}Incipient wet spell  {c |}{col 22}{res}{space 2} .0027579{col 34}{space 2} .0011791{col 45}{space 1}    2.34{col 54}{space 3}0.019{col 62}{space 4} .0004464{col 75}{space 3} .0050694
{txt}{space 7}Slightly wet  {c |}{col 22}{res}{space 2} .0040537{col 34}{space 2} .0014325{col 45}{space 1}    2.83{col 54}{space 3}0.005{col 62}{space 4} .0012455{col 75}{space 3}  .006862
{txt}{space 5}Moderately wet  {c |}{col 22}{res}{space 2} .0038551{col 34}{space 2} .0019358{col 45}{space 1}    1.99{col 54}{space 3}0.046{col 62}{space 4} .0000603{col 75}{space 3} .0076499
{txt}{space 11}Very wet  {c |}{col 22}{res}{space 2} .0063989{col 34}{space 2} .0028122{col 45}{space 1}    2.28{col 54}{space 3}0.023{col 62}{space 4}  .000886{col 75}{space 3} .0119118
{txt}{space 6}Extremely wet  {c |}{col 22}{res}{space 2}  .005904{col 34}{space 2} .0053827{col 45}{space 1}    1.10{col 54}{space 3}0.273{col 62}{space 4}-.0046481{col 75}{space 3} .0164561
{txt}{space 20} {c |}
{space 15}_cons {c |}{col 22}{res}{space 2}  .542908{col 34}{space 2} .0006793{col 45}{space 1}  799.19{col 54}{space 3}0.000{col 62}{space 4} .5415762{col 75}{space 3} .5442397
{txt}{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
             sigma_u {c |} {res} .87269528
             {txt}sigma_e {c |} {res} .13223827
                 {txt}rho {c |} {res} .97755446{txt}   (fraction of variance due to u_i)
{hline 21}{c BT}{hline 64}
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 1.868e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.175e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.296
{txt}Iteration 2:  Maximum absolute difference = {res} 1.180e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   421,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,103

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2221{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0128{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0019{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}13{txt}, {res}6031{txt}){col 67}={col 70}{res}    16.25
{txt}corr(u_i, Xb) = {res}0.0407{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 21}pdsi_cat {c |}
{space 15}Extremely dry  {c |}{col 31}{res}{space 2}-.0084978{col 43}{space 2} .0044813{col 54}{space 1}   -1.90{col 63}{space 3}0.058{col 71}{space 4}-.0172828{col 84}{space 3} .0002872
{txt}{space 16}Severely dry  {c |}{col 31}{res}{space 2}-.0117796{col 43}{space 2} .0025457{col 54}{space 1}   -4.63{col 63}{space 3}0.000{col 71}{space 4}  -.01677{col 84}{space 3}-.0067891
{txt}{space 14}Moderately dry  {c |}{col 31}{res}{space 2}-.0079242{col 43}{space 2} .0017623{col 54}{space 1}   -4.50{col 63}{space 3}0.000{col 71}{space 4} -.011379{col 84}{space 3}-.0044695
{txt}{space 18}Mildly dry  {c |}{col 31}{res}{space 2}-.0033048{col 43}{space 2}  .001267{col 54}{space 1}   -2.61{col 63}{space 3}0.009{col 71}{space 4}-.0057885{col 84}{space 3} -.000821
{txt}{space 11}Incipient drought  {c |}{col 31}{res}{space 2}-.0009037{col 43}{space 2} .0010728{col 54}{space 1}   -0.84{col 63}{space 3}0.400{col 71}{space 4}-.0030069{col 84}{space 3} .0011995
{txt}{space 9}Incipient wet spell  {c |}{col 31}{res}{space 2} .0022722{col 43}{space 2} .0011951{col 54}{space 1}    1.90{col 63}{space 3}0.057{col 71}{space 4}-.0000707{col 84}{space 3}  .004615
{txt}{space 16}Slightly wet  {c |}{col 31}{res}{space 2} .0032625{col 43}{space 2} .0014433{col 54}{space 1}    2.26{col 63}{space 3}0.024{col 71}{space 4}  .000433{col 84}{space 3} .0060919
{txt}{space 14}Moderately wet  {c |}{col 31}{res}{space 2} .0033236{col 43}{space 2} .0019321{col 54}{space 1}    1.72{col 63}{space 3}0.085{col 71}{space 4} -.000464{col 84}{space 3} .0071113
{txt}{space 20}Very wet  {c |}{col 31}{res}{space 2}   .00608{col 43}{space 2} .0027952{col 54}{space 1}    2.18{col 63}{space 3}0.030{col 71}{space 4} .0006004{col 84}{space 3} .0115595
{txt}{space 15}Extremely wet  {c |}{col 31}{res}{space 2} .0057806{col 43}{space 2}  .005351{col 54}{space 1}    1.08{col 63}{space 3}0.280{col 71}{space 4}-.0047093{col 84}{space 3} .0162705
{txt}{space 29} {c |}
{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0117952{col 43}{space 2} .0022126{col 54}{space 1}   -5.33{col 63}{space 3}0.000{col 71}{space 4}-.0161326{col 84}{space 3}-.0074577
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0125931{col 43}{space 2} .0020299{col 54}{space 1}   -6.20{col 63}{space 3}0.000{col 71}{space 4}-.0165724{col 84}{space 3}-.0086138
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0033833{col 43}{space 2} .0015449{col 54}{space 1}   -2.19{col 63}{space 3}0.029{col 71}{space 4}-.0064118{col 84}{space 3}-.0003548
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5462964{col 43}{space 2} .0008487{col 54}{space 1}  643.72{col 63}{space 3}0.000{col 71}{space 4} .5446327{col 84}{space 3} .5479601
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .87211511
                      {txt}sigma_e {c |} {res} .13164574
                          {txt}rho {c |} {res} .97772174{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 1.868e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.175e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.295
{txt}Iteration 2:  Maximum absolute difference = {res} 1.381e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   421,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,103

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0113{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0014{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}4{txt}, {res}6031{txt}){col 67}={col 70}{res}    50.37
{txt}corr(u_i, Xb) = {res}0.0367{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0085466{col 43}{space 2} .0016382{col 54}{space 1}   -5.22{col 63}{space 3}0.000{col 71}{space 4}-.0117582{col 84}{space 3}-.0053351
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0124701{col 43}{space 2}  .002181{col 54}{space 1}   -5.72{col 63}{space 3}0.000{col 71}{space 4}-.0167456{col 84}{space 3}-.0081946
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0125268{col 43}{space 2} .0020375{col 54}{space 1}   -6.15{col 63}{space 3}0.000{col 71}{space 4}-.0165211{col 84}{space 3}-.0085326
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0032333{col 43}{space 2} .0015335{col 54}{space 1}   -2.11{col 63}{space 3}0.035{col 71}{space 4}-.0062395{col 84}{space 3}-.0002271
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2}   .54663{col 43}{space 2} .0006466{col 54}{space 1}  845.33{col 63}{space 3}0.000{col 71}{space 4} .5453623{col 84}{space 3} .5478976
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .87217229
                      {txt}sigma_e {c |} {res} .13166235
                          {txt}rho {c |} {res}  .9777191{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}

{com}. 
. 
. *increase marker size for visibility in mono
. coefplot  (rdsi_withtemp, msize(medium) label(DSI)) (pdsi_withtemp, msize(medium) msymbol(Dh) label(sc-PDSI)), base drop(_cons *dev*) xline(0) levels(95) xtitle("Effect on ihs lights")  graphregion(fcolor(white))  rename(*.pdsi_cat = .rdsi_cat)
{res}{txt}
{com}. graph export "../output/Figure1.emf", replace
{txt}{p 0 4 2}
file {bf}
C:\Users\hilar\Box\lights_2022\replication package\code\../output/Figure1.emf{rm}
saved as
Enhanced Metafile
format
{p_end}

{com}. 
. 
. esttab rdsi_basic rdsi_withtemp rdsi_binary using "../output/tableC1_dsi.rtf", replace se r2(3) sca("cellfe Cell FE" "contyr Continent*year" "tempeff Temperature effects" "N_clust N subbasins" "N_g N cells") obslast nomtitles nobase label star( + .10 * .05 ** .01 ) drop(*dev_*  _cons) order(esmrdsi) /*
> */ title("Appendix Table C1: Impact of Drought Severity Index (DSI) on lights")   /*
> */ addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Excluded DSI normal category in columns 1 and 3 is near normal. Standard errors in parentheses are clustered by cell.")
{res}{txt}(output written to {browse  `"../output/tableC1_dsi.rtf"'})

{com}. 
. esttab pdsi_basic pdsi_withtemp pdsi_binary using "../output/tableC2_pdsi.rtf", replace se r2(3) sca("cellfe Cell FE" "contyr Continent*year" "tempeff Temperature effects" "N_clust N subbasins" "N_g N cells") obslast nomtitles nobase label  /// 
> star( + .10 * .05 ** .01 ) drop(*dev_* _cons) order(esmpdsi) ///
> title("Table 3: Impact of sc-PDSI on nighttime lights")  ///
> addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Excluded sc-PDSI  category in columns 1 and 3 is near normal. Standard errors in parentheses are clustered by cell.")
{res}{txt}(output written to {browse  `"../output/tableC2_pdsi.rtf"'})

{com}. 
. 
. eststo clear
{txt}
{com}. 
. 
. **# Tables 2 and D1: Groundwater interactions 
. 
. *Use WB aquifer typology percent variables as discrete
. gen alluv=(aqtyp_max=="Major Alluvial") if !missing(aqtyp_max)
{txt}(3,180 missing values generated)

{com}. gen loc_shal=(aqtyp_max=="Local/Shallow") if !missing(aqtyp_max)
{txt}(3,180 missing values generated)

{com}. gen complex=(aqtyp_max=="Complex") if !missing(aqtyp_max)
{txt}(3,180 missing values generated)

{com}. gen karst=(aqtyp_max=="Karstic") if !missing(aqtyp_max)
{txt}(3,180 missing values generated)

{com}. gen alluv_ls=(alluv | loc_shal) if !missing(aqtyp_max)
{txt}(3,180 missing values generated)

{com}. label var alluv "Major alluvial"
{txt}
{com}. label var alluv_ls "Alluvial/local/shallow"
{txt}
{com}. label var loc_shal "Local/shallow"
{txt}
{com}. label var complex "Complex"
{txt}
{com}. label var karst "Karstic"
{txt}
{com}. 
. gen ihsgwresource=asinh(resource_norm)
{txt}(10,128 missing values generated)

{com}. label var ihsgwresource "ihs(Groundwater Resource)"
{txt}
{com}. 
. *interactions with drought
. foreach v in dsi pdsi {c -(}
{txt}  2{com}. foreach var in alluv loc_shal complex karst alluv_ls ihsgwresource {c -(}
{txt}  3{com}.   local lbl: variable label `var'
{txt}  4{com}.   gen esm`v'_`var'=esm`v'*`var'
{txt}  5{com}.   label var esm`v'_`var' "`lbl'*drought"
{txt}  6{com}.   {c )-}     
{txt}  7{com}. 
. *GW regressions
. eststo: xtreg ihslights esm`v' $weather if flare==0 & !missing(aqtyp_max), fe vce(cluster conpfaf4) absorb(contXyear)
{txt}  8{com}. estimates store `v'_basic
{txt}  9{com}. eststo: xtreg ihslights esm`v' esm`v'_alluv esm`v'_loc_shal esm`v'_complex $weather if flare==0 & !missing(aqtyp_max), fe vce(cluster conpfaf4) absorb(contXyear)
{txt} 10{com}. estimates store `v'_gw
{txt} 11{com}. eststo: xtreg ihslights esm`v' esm`v'_alluv esm`v'_loc_shal esm`v'_complex esm`v'_ihsgwresource $weather if flare==0 & !missing(aqtyp_max), fe vce(cluster conpfaf4) absorb(contXyear)
{txt} 12{com}. estimates store `v'_gwresource
{txt} 13{com}. {c )-}
{txt}(20,251 missing values generated)
(20,251 missing values generated)
(20,251 missing values generated)
(20,251 missing values generated)
(20,251 missing values generated)
(27,043 missing values generated)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 1.900e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 3.403e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}      4.27
{txt}Iteration 2:  Maximum absolute difference = {res} 1.101e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   446,568
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,214

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2191{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0157{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0016{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}4{txt}, {res}6127{txt}){col 67}={col 70}{res}    46.01
{txt}corr(u_i, Xb) = {res}0.0391{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2} -.011042{col 43}{space 2} .0016111{col 54}{space 1}   -6.85{col 63}{space 3}0.000{col 71}{space 4}-.0142002{col 84}{space 3}-.0078837
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0115917{col 43}{space 2}  .002153{col 54}{space 1}   -5.38{col 63}{space 3}0.000{col 71}{space 4}-.0158123{col 84}{space 3} -.007371
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0114118{col 43}{space 2} .0021621{col 54}{space 1}   -5.28{col 63}{space 3}0.000{col 71}{space 4}-.0156502{col 84}{space 3}-.0071733
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0037332{col 43}{space 2} .0016582{col 54}{space 1}   -2.25{col 63}{space 3}0.024{col 71}{space 4}-.0069839{col 84}{space 3}-.0004824
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5701522{col 43}{space 2} .0006679{col 54}{space 1}  853.68{col 63}{space 3}0.000{col 71}{space 4}  .568843{col 84}{space 3} .5714615
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90144904
                      {txt}sigma_e {c |} {res} .13409737
                          {txt}rho {c |} {res} .97835027{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 1.900e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 3.403e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.271
{txt}Iteration 2:  Maximum absolute difference = {res} 1.284e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   446,568
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,214

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2191{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0178{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0019{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}7{txt}, {res}6127{txt}){col 67}={col 70}{res}    27.00
{txt}corr(u_i, Xb) = {res}0.0422{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2} -.013162{col 43}{space 2} .0033677{col 54}{space 1}   -3.91{col 63}{space 3}0.000{col 71}{space 4} -.019764{col 84}{space 3}-.0065601
{txt}{space 17}esmdsi_alluv {c |}{col 31}{res}{space 2} .0114991{col 43}{space 2} .0050073{col 54}{space 1}    2.30{col 63}{space 3}0.022{col 71}{space 4}  .001683{col 84}{space 3} .0213151
{txt}{space 14}esmdsi_loc_shal {c |}{col 31}{res}{space 2} .0011273{col 43}{space 2} .0036944{col 54}{space 1}    0.31{col 63}{space 3}0.760{col 71}{space 4}-.0061151{col 84}{space 3} .0083697
{txt}{space 15}esmdsi_complex {c |}{col 31}{res}{space 2}  .001539{col 43}{space 2} .0041837{col 54}{space 1}    0.37{col 63}{space 3}0.713{col 71}{space 4}-.0066626{col 84}{space 3} .0097406
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2} -.011588{col 43}{space 2} .0021522{col 54}{space 1}   -5.38{col 63}{space 3}0.000{col 71}{space 4} -.015807{col 84}{space 3}-.0073689
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0114159{col 43}{space 2} .0021628{col 54}{space 1}   -5.28{col 63}{space 3}0.000{col 71}{space 4}-.0156557{col 84}{space 3}-.0071761
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0037251{col 43}{space 2} .0016585{col 54}{space 1}   -2.25{col 63}{space 3}0.025{col 71}{space 4}-.0069764{col 84}{space 3}-.0004739
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5701536{col 43}{space 2} .0006684{col 54}{space 1}  853.02{col 63}{space 3}0.000{col 71}{space 4} .5688433{col 84}{space 3} .5714639
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90141033
                      {txt}sigma_e {c |} {res}  .1340932
                          {txt}rho {c |} {res} .97834977{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 7.429e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.945e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.275
{txt}Iteration 2:  Maximum absolute difference = {res} 1.359e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   443,100
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    36,925

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2190{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0196{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0024{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}8{txt}, {res}6096{txt}){col 67}={col 70}{res}    23.19
{txt}corr(u_i, Xb) = {res}0.0478{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,097} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0205697{col 43}{space 2} .0034756{col 54}{space 1}   -5.92{col 63}{space 3}0.000{col 71}{space 4}-.0273832{col 84}{space 3}-.0137563
{txt}{space 17}esmdsi_alluv {c |}{col 31}{res}{space 2} .0129411{col 43}{space 2} .0049514{col 54}{space 1}    2.61{col 63}{space 3}0.009{col 71}{space 4} .0032347{col 84}{space 3} .0226475
{txt}{space 14}esmdsi_loc_shal {c |}{col 31}{res}{space 2} .0024539{col 43}{space 2} .0035917{col 54}{space 1}    0.68{col 63}{space 3}0.494{col 71}{space 4}-.0045871{col 84}{space 3}  .009495
{txt}{space 15}esmdsi_complex {c |}{col 31}{res}{space 2} .0030133{col 43}{space 2} .0041015{col 54}{space 1}    0.73{col 63}{space 3}0.463{col 71}{space 4}-.0050272{col 84}{space 3} .0110537
{txt}{space 9}esmdsi_ihsgwresource {c |}{col 31}{res}{space 2} .0178654{col 43}{space 2} .0030447{col 54}{space 1}    5.87{col 63}{space 3}0.000{col 71}{space 4} .0118968{col 84}{space 3}  .023834
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0114367{col 43}{space 2} .0021304{col 54}{space 1}   -5.37{col 63}{space 3}0.000{col 71}{space 4}-.0156131{col 84}{space 3}-.0072603
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0113634{col 43}{space 2} .0021777{col 54}{space 1}   -5.22{col 63}{space 3}0.000{col 71}{space 4}-.0156326{col 84}{space 3}-.0070943
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} -.003691{col 43}{space 2}  .001651{col 54}{space 1}   -2.24{col 63}{space 3}0.025{col 71}{space 4}-.0069276{col 84}{space 3}-.0004544
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5681164{col 43}{space 2} .0006849{col 54}{space 1}  829.50{col 63}{space 3}0.000{col 71}{space 4} .5667738{col 84}{space 3} .5694591
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .89900417
                      {txt}sigma_e {c |} {res} .13419885
                          {txt}rho {c |} {res} .97820268{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est3{txt} stored)
(52,087 missing values generated)
(52,087 missing values generated)
(52,087 missing values generated)
(52,087 missing values generated)
(52,087 missing values generated)
(57,691 missing values generated)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.698e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.947e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.295
{txt}Iteration 2:  Maximum absolute difference = {res} 1.066e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   420,936
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,078

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0113{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0014{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}4{txt}, {res}6031{txt}){col 67}={col 70}{res}    50.41
{txt}corr(u_i, Xb) = {res}0.0367{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0085379{col 43}{space 2} .0016379{col 54}{space 1}   -5.21{col 63}{space 3}0.000{col 71}{space 4}-.0117487{col 84}{space 3}-.0053271
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0124503{col 43}{space 2} .0021824{col 54}{space 1}   -5.70{col 63}{space 3}0.000{col 71}{space 4}-.0167285{col 84}{space 3}-.0081721
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0125322{col 43}{space 2} .0020418{col 54}{space 1}   -6.14{col 63}{space 3}0.000{col 71}{space 4}-.0165348{col 84}{space 3}-.0085296
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0032553{col 43}{space 2} .0015393{col 54}{space 1}   -2.11{col 63}{space 3}0.034{col 71}{space 4}-.0062729{col 84}{space 3}-.0002378
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5465904{col 43}{space 2} .0006477{col 54}{space 1}  843.86{col 63}{space 3}0.000{col 71}{space 4} .5453206{col 84}{space 3} .5478602
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .87182742
                      {txt}sigma_e {c |} {res} .13169061
                          {txt}rho {c |} {res}  .9776925{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est4{txt} stored)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.698e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.947e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.298
{txt}Iteration 2:  Maximum absolute difference = {res} 1.072e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   420,936
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,078

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2220{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0043{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0006{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}7{txt}, {res}6031{txt}){col 67}={col 70}{res}    30.52
{txt}corr(u_i, Xb) = {res}0.0221{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0161501{col 43}{space 2} .0046952{col 54}{space 1}   -3.44{col 63}{space 3}0.001{col 71}{space 4}-.0253544{col 84}{space 3}-.0069458
{txt}{space 16}esmpdsi_alluv {c |}{col 31}{res}{space 2} .0043118{col 43}{space 2} .0066832{col 54}{space 1}    0.65{col 63}{space 3}0.519{col 71}{space 4}-.0087897{col 84}{space 3} .0174132
{txt}{space 13}esmpdsi_loc_shal {c |}{col 31}{res}{space 2} .0110717{col 43}{space 2} .0049893{col 54}{space 1}    2.22{col 63}{space 3}0.027{col 71}{space 4} .0012908{col 84}{space 3} .0208525
{txt}{space 14}esmpdsi_complex {c |}{col 31}{res}{space 2} .0053357{col 43}{space 2} .0055653{col 54}{space 1}    0.96{col 63}{space 3}0.338{col 71}{space 4}-.0055743{col 84}{space 3} .0162456
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0124612{col 43}{space 2} .0021872{col 54}{space 1}   -5.70{col 63}{space 3}0.000{col 71}{space 4}-.0167489{col 84}{space 3}-.0081735
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0125426{col 43}{space 2} .0020425{col 54}{space 1}   -6.14{col 63}{space 3}0.000{col 71}{space 4}-.0165467{col 84}{space 3}-.0085385
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0032619{col 43}{space 2} .0015406{col 54}{space 1}   -2.12{col 63}{space 3}0.034{col 71}{space 4} -.006282{col 84}{space 3}-.0002418
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5465893{col 43}{space 2} .0006466{col 54}{space 1}  845.30{col 63}{space 3}0.000{col 71}{space 4} .5453217{col 84}{space 3} .5478569
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .87198954
                      {txt}sigma_e {c |} {res} .13168521
                          {txt}rho {c |} {res}  .9777024{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est5{txt} stored)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 7.917e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 6.788e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.302
{txt}Iteration 2:  Maximum absolute difference = {res} 1.008e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   418,512
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    34,876

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0072{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0012{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}8{txt}, {res}6000{txt}){col 67}={col 70}{res}    26.34
{txt}corr(u_i, Xb) = {res}0.0328{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,001} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0227812{col 43}{space 2} .0049869{col 54}{space 1}   -4.57{col 63}{space 3}0.000{col 71}{space 4}-.0325574{col 84}{space 3}-.0130051
{txt}{space 16}esmpdsi_alluv {c |}{col 31}{res}{space 2}  .005957{col 43}{space 2} .0067165{col 54}{space 1}    0.89{col 63}{space 3}0.375{col 71}{space 4}-.0072098{col 84}{space 3} .0191238
{txt}{space 13}esmpdsi_loc_shal {c |}{col 31}{res}{space 2} .0123565{col 43}{space 2} .0049174{col 54}{space 1}    2.51{col 63}{space 3}0.012{col 71}{space 4} .0027167{col 84}{space 3} .0219963
{txt}{space 14}esmpdsi_complex {c |}{col 31}{res}{space 2} .0067777{col 43}{space 2}  .005612{col 54}{space 1}    1.21{col 63}{space 3}0.227{col 71}{space 4}-.0042238{col 84}{space 3} .0177792
{txt}{space 8}esmpdsi_ihsgwresource {c |}{col 31}{res}{space 2} .0152448{col 43}{space 2} .0037486{col 54}{space 1}    4.07{col 63}{space 3}0.000{col 71}{space 4} .0078961{col 84}{space 3} .0225935
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0123628{col 43}{space 2} .0021818{col 54}{space 1}   -5.67{col 63}{space 3}0.000{col 71}{space 4}-.0166399{col 84}{space 3}-.0080856
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0125441{col 43}{space 2} .0020481{col 54}{space 1}   -6.12{col 63}{space 3}0.000{col 71}{space 4}-.0165591{col 84}{space 3}-.0085292
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0032582{col 43}{space 2} .0015369{col 54}{space 1}   -2.12{col 63}{space 3}0.034{col 71}{space 4}-.0062712{col 84}{space 3}-.0002453
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5457232{col 43}{space 2} .0006525{col 54}{space 1}  836.32{col 63}{space 3}0.000{col 71}{space 4}  .544444{col 84}{space 3} .5470024
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res}  .8705978
                      {txt}sigma_e {c |} {res} .13183803
                          {txt}rho {c |} {res} .97758187{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est6{txt} stored)

{com}. 
. 
. esttab dsi_basic dsi_gw dsi_gwresource using "../output/table2_GW_dsi.rtf", replace se r2(3) sca("N_clust N subbasins" "N_g N cells") obslast label star( + .10 * .05 ** .01 )  drop(*dev_* _cons) title("Table 2: Impact of remote sensed drought on lights mediated by GW") mtitles("No GW" "GW aquifer type" "GW aquifer type & resource") addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Standard errors in parentheses are clustered by cell. All models include a cubic in temperature, fixed effects for cells, and continent*year effects. Relative to Table 1, these models drop all grid cells for which the maximum groundwater aquifer type was missing or unidentified. The three aquifer type coefficients are all relative to the excluded category, which is "karstic."")
{res}{txt}(output written to {browse  `"../output/table2_GW_dsi.rtf"'})

{com}.  
. 
. esttab pdsi_basic pdsi_gw pdsi_gwresource  using "../output/tableD1_GW_pdsi.rtf", replace se r2(3) sca( "N_clust N subbasins" "N_g N cells") obslast nocon label star( + .10 * .05 ** .01 )  drop(*dev_* _cons) title("Table D1: Impact of drought (PDSI) on lights mediated by GW") mtitles("No GW" "GW aquifer type" "GW aquifer type & resource") addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Standard errors in parentheses are clustered by subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects. Relative to Table 1, these models drop all grid cells for which the maximum groundwater aquifer type was missing or unidentified. The three aquifer type coefficients are all relative to the excluded category, which is "karstic."")
{res}{txt}(output written to {browse  `"../output/tableD1_GW_pdsi.rtf"'})

{com}.  
. eststo clear
{txt}
{com}. 
. 
. **# Set up data for impacts of dams
. 
. **# Table 3: Full spectrum for droughts interacted with dams 
. gen pdsi_cat7=pdsi_cat
{txt}(51,475 missing values generated)

{com}. replace pdsi_cat7=7 if pdsi_cat>=7  & !missing(pdsi_av)
{txt}(107,355 real changes made)

{com}. label values pdsi_cat7 cat7
{txt}
{com}. 
. 
. eststo: xtreg ihslights ib6.dsi_cat7##i.ifdam $weather if flare==0, fe vce(cluster conpfaf4) absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.278e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 4.539e-13
{txt}{p 0 6 2}note: {bf:1.ifdam} omitted because of collinearity with one or more absorbed variables.{p_end}

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}      4.27
{txt}Iteration 2:  Maximum absolute difference = {res} 1.236e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,828
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,319

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2195{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0352{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0037{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}15{txt}, {res}6127{txt}){col 67}={col 70}{res}    14.88
{txt}corr(u_i, Xb) = {res}0.0593{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 21}dsi_cat7 {c |}
{space 13}Extreme drought  {c |}{col 31}{res}{space 2}-.0183996{col 43}{space 2} .0031969{col 54}{space 1}   -5.76{col 63}{space 3}0.000{col 71}{space 4}-.0246667{col 84}{space 3}-.0121326
{txt}{space 14}Severe drought  {c |}{col 31}{res}{space 2}-.0122256{col 43}{space 2} .0025952{col 54}{space 1}   -4.71{col 63}{space 3}0.000{col 71}{space 4}-.0173131{col 84}{space 3} -.007138
{txt}{space 12}Moderate drought  {c |}{col 31}{res}{space 2} -.013079{col 43}{space 2} .0021675{col 54}{space 1}   -6.03{col 63}{space 3}0.000{col 71}{space 4}-.0173281{col 84}{space 3}-.0088299
{txt}{space 16}Mild drought  {c |}{col 31}{res}{space 2}-.0081093{col 43}{space 2} .0017473{col 54}{space 1}   -4.64{col 63}{space 3}0.000{col 71}{space 4}-.0115346{col 84}{space 3} -.004684
{txt}{space 11}Incipient drought  {c |}{col 31}{res}{space 2}-.0056438{col 43}{space 2} .0013428{col 54}{space 1}   -4.20{col 63}{space 3}0.000{col 71}{space 4}-.0082762{col 84}{space 3}-.0030113
{txt}{space 25}Wet  {c |}{col 31}{res}{space 2} .0060633{col 43}{space 2} .0012553{col 54}{space 1}    4.83{col 63}{space 3}0.000{col 71}{space 4} .0036025{col 84}{space 3} .0085241
{txt}{space 29} {c |}
{space 22}1.ifdam {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 29} {c |}
{space 15}dsi_cat7#ifdam {c |}
{space 11}Extreme drought#1  {c |}{col 31}{res}{space 2} .0068291{col 43}{space 2} .0056488{col 54}{space 1}    1.21{col 63}{space 3}0.227{col 71}{space 4}-.0042445{col 84}{space 3} .0179028
{txt}{space 12}Severe drought#1  {c |}{col 31}{res}{space 2} .0093832{col 43}{space 2} .0042552{col 54}{space 1}    2.21{col 63}{space 3}0.027{col 71}{space 4} .0010416{col 84}{space 3} .0177249
{txt}{space 10}Moderate drought#1  {c |}{col 31}{res}{space 2} .0126946{col 43}{space 2} .0035193{col 54}{space 1}    3.61{col 63}{space 3}0.000{col 71}{space 4} .0057955{col 84}{space 3} .0195937
{txt}{space 14}Mild drought#1  {c |}{col 31}{res}{space 2} .0104015{col 43}{space 2} .0027638{col 54}{space 1}    3.76{col 63}{space 3}0.000{col 71}{space 4} .0049835{col 84}{space 3} .0158195
{txt}{space 9}Incipient drought#1  {c |}{col 31}{res}{space 2} .0077222{col 43}{space 2} .0021601{col 54}{space 1}    3.57{col 63}{space 3}0.000{col 71}{space 4} .0034877{col 84}{space 3} .0119567
{txt}{space 23}Wet#1  {c |}{col 31}{res}{space 2} -.002166{col 43}{space 2} .0020735{col 54}{space 1}   -1.04{col 63}{space 3}0.296{col 71}{space 4}-.0062307{col 84}{space 3} .0018987
{txt}{space 29} {c |}
{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0109277{col 43}{space 2} .0021571{col 54}{space 1}   -5.07{col 63}{space 3}0.000{col 71}{space 4}-.0151563{col 84}{space 3}-.0066991
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0111784{col 43}{space 2} .0021547{col 54}{space 1}   -5.19{col 63}{space 3}0.000{col 71}{space 4}-.0154024{col 84}{space 3}-.0069544
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0038755{col 43}{space 2}  .001652{col 54}{space 1}   -2.35{col 63}{space 3}0.019{col 71}{space 4}-.0071139{col 84}{space 3}-.0006371
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5695317{col 43}{space 2} .0008341{col 54}{space 1}  682.81{col 63}{space 3}0.000{col 71}{space 4} .5678966{col 84}{space 3} .5711668
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90290319
                      {txt}sigma_e {c |} {res} .13407429
                          {txt}rho {c |} {res} .97842571{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. testparm *dsi_cat7#1.ifdam

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.dsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} 2.dsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} 3.dsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} 4.dsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} 5.dsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} 7.dsi_cat7#1.ifdam = 0{p_end}

{txt}       F(  6,  6127) ={res}    3.46
{txt}{col 13}Prob > F ={res}    0.0020
{txt}
{com}. estadd scalar Fstat = r(F)

{txt}added scalar:
              e(Fstat) =  {res}3.4649859
{txt}
{com}. estadd scalar p_val = r(p)

{txt}added scalar:
              e(p_val) =  {res}.00202465
{txt}
{com}. eststo rdsi_dam
{txt}
{com}. 
. 
. 
. esttab rdsi_dam using "../output/table3_dam_droughtcat.rtf", replace se r2(3) sca("Fstat F test (all dam interactions)" "p_val p value"  "N_clust N subbasins" "N_g N cells" ) obslast ///
> star( + .10 * .05 ** .01 ) drop(*dev_* _cons 1.ifdam) nobaselevels  label ///
> title("Table 3. Effects of local dams for all drought conditions") ///
> addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index.  Near normal drought category excluded. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects.")
{res}{txt}(output written to {browse  `"../output/table3_dam_droughtcat.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. 
. eststo: xtreg ihslights ib6.pdsi_cat7##i.ifdam $weather if flare==0, fe vce(cluster conpfaf4) absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 1.868e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.175e-13
{txt}{p 0 6 2}note: {bf:1.ifdam} omitted because of collinearity with one or more absorbed variables.{p_end}

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.299
{txt}Iteration 2:  Maximum absolute difference = {res} 1.507e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   421,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,103

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2222{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0342{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0061{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}15{txt}, {res}6031{txt}){col 67}={col 70}{res}    14.66
{txt}corr(u_i, Xb) = {res}0.0758{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}pdsi_cat7 {c |}
{space 13}Extreme drought  {c |}{col 31}{res}{space 2}-.0072925{col 43}{space 2} .0051835{col 54}{space 1}   -1.41{col 63}{space 3}0.160{col 71}{space 4}-.0174541{col 84}{space 3}  .002869
{txt}{space 14}Severe drought  {c |}{col 31}{res}{space 2}-.0137449{col 43}{space 2} .0028952{col 54}{space 1}   -4.75{col 63}{space 3}0.000{col 71}{space 4}-.0194204{col 84}{space 3}-.0080693
{txt}{space 12}Moderate drought  {c |}{col 31}{res}{space 2} -.013385{col 43}{space 2} .0021387{col 54}{space 1}   -6.26{col 63}{space 3}0.000{col 71}{space 4}-.0175777{col 84}{space 3}-.0091923
{txt}{space 16}Mild drought  {c |}{col 31}{res}{space 2}-.0071811{col 43}{space 2} .0016285{col 54}{space 1}   -4.41{col 63}{space 3}0.000{col 71}{space 4}-.0103736{col 84}{space 3}-.0039886
{txt}{space 11}Incipient drought  {c |}{col 31}{res}{space 2}  -.00261{col 43}{space 2} .0012975{col 54}{space 1}   -2.01{col 63}{space 3}0.044{col 71}{space 4}-.0051536{col 84}{space 3}-.0000664
{txt}{space 25}Wet  {c |}{col 31}{res}{space 2} .0021707{col 43}{space 2} .0015079{col 54}{space 1}    1.44{col 63}{space 3}0.150{col 71}{space 4}-.0007853{col 84}{space 3} .0051267
{txt}{space 29} {c |}
{space 22}1.ifdam {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 29} {c |}
{space 14}pdsi_cat7#ifdam {c |}
{space 11}Extreme drought#1  {c |}{col 31}{res}{space 2}-.0025207{col 43}{space 2} .0089212{col 54}{space 1}   -0.28{col 63}{space 3}0.778{col 71}{space 4}-.0200096{col 84}{space 3} .0149681
{txt}{space 12}Severe drought#1  {c |}{col 31}{res}{space 2} .0041679{col 43}{space 2} .0049873{col 54}{space 1}    0.84{col 63}{space 3}0.403{col 71}{space 4}-.0056091{col 84}{space 3} .0139448
{txt}{space 10}Moderate drought#1  {c |}{col 31}{res}{space 2}  .011506{col 43}{space 2} .0036007{col 54}{space 1}    3.20{col 63}{space 3}0.001{col 71}{space 4} .0044473{col 84}{space 3} .0185648
{txt}{space 14}Mild drought#1  {c |}{col 31}{res}{space 2} .0083129{col 43}{space 2} .0026126{col 54}{space 1}    3.18{col 63}{space 3}0.001{col 71}{space 4} .0031912{col 84}{space 3} .0134346
{txt}{space 9}Incipient drought#1  {c |}{col 31}{res}{space 2} .0037057{col 43}{space 2} .0022295{col 54}{space 1}    1.66{col 63}{space 3}0.097{col 71}{space 4} -.000665{col 84}{space 3} .0080763
{txt}{space 23}Wet#1  {c |}{col 31}{res}{space 2} .0026359{col 43}{space 2} .0026062{col 54}{space 1}    1.01{col 63}{space 3}0.312{col 71}{space 4}-.0024732{col 84}{space 3}  .007745
{txt}{space 29} {c |}
{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0118221{col 43}{space 2} .0022196{col 54}{space 1}   -5.33{col 63}{space 3}0.000{col 71}{space 4}-.0161733{col 84}{space 3}-.0074709
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0125942{col 43}{space 2} .0020326{col 54}{space 1}   -6.20{col 63}{space 3}0.000{col 71}{space 4}-.0165789{col 84}{space 3}-.0086094
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0033466{col 43}{space 2} .0015474{col 54}{space 1}   -2.16{col 63}{space 3}0.031{col 71}{space 4}-.0063801{col 84}{space 3}-.0003132
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5463125{col 43}{space 2} .0008291{col 54}{space 1}  658.90{col 63}{space 3}0.000{col 71}{space 4} .5446871{col 84}{space 3} .5479378
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .87167645
                      {txt}sigma_e {c |} {res} .13163565
                          {txt}rho {c |} {res} .97770315{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. testparm *pdsi_cat7#1.ifdam 

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.pdsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} 2.pdsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} 3.pdsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} 4.pdsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 5)}{space 1} 5.pdsi_cat7#1.ifdam = 0{p_end}
{p 0 7}{space 1}{text:( 6)}{space 1} 7.pdsi_cat7#1.ifdam = 0{p_end}

{txt}       F(  6,  6031) ={res}    2.62
{txt}{col 13}Prob > F ={res}    0.0153
{txt}
{com}. estadd scalar Fstat = r(F)

{txt}added scalar:
              e(Fstat) =  {res}2.6247963
{txt}
{com}. estadd scalar p_value = r(p)

{txt}added scalar:
            e(p_value) =  {res}.01525836
{txt}
{com}. eststo pdsi_dam
{txt}
{com}. 
. esttab pdsi_dam using "../output/tableD2_dam_droughtcat.rtf", replace se r2(3) sca( "Fstat F test (all dam interactions)"  "p_value p value"  "N_clust N subbasins" "N_g N cells" ) obslast /// 
> star( + .10 * .05 ** .01 ) drop(*dev_* 1.ifdam _cons) nobaselevels label  ///
> title("Table D1. Effects of local dams for full set of drought conditions using sc-PDSI")  ///
> addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index.  Near normal drought category excluded. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects.")
{res}{txt}(output written to {browse  `"../output/tableD2_dam_droughtcat.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. **# Table 4: Interactions of dam characteristics with drought dummy
. 
. * characteristics for interactions
. replace rescap=rescap/10^3
{txt}(225,237 real changes made)

{com}. replace rescaphydro=rescaphydro/10^3
{txt}(113,516 real changes made)

{com}. gen farupdam=((upstream_dams-up1_count_dams)>0)
{txt}
{com}. gen pop=pop2000/10^3
{txt}(40,860 missing values generated)

{com}. label var farupdam "Far upstream dam"
{txt}
{com}. label var pop "Population density"
{txt}
{com}. 
. 
. *explicit interactions for cleaner output
. foreach var in ifdam ifhydro pop rescap rescaphydro up1_ifdam up1_ifhydro farupdam {c -(}
{txt}  2{com}.         local lbl: variable label `var'
{txt}  3{com}. *extreme/severe/moderate (esm)
.         gen esmdsi_`var'=(dsi_cat11<=3)*`var'
{txt}  4{com}.         gen esmpdsi_`var'=(pdsi_cat<=3)*`var'
{txt}  5{com}.         label var esmdsi_`var' "`lbl'*drought"
{txt}  6{com}.         label var esmpdsi_`var' "`lbl'*drought"
{txt}  7{com}.         {c )-}
{txt}(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(428,845 missing values generated)
(428,845 missing values generated)
(428,845 missing values generated)
(428,845 missing values generated)

{com}. 
.         
. *Remoted sensed DSI (moderate or worse drought) 
. eststo: xtreg ihslights esmdsi esmdsi_ifdam $weather if flare==0, fe vce(cluster conpfaf4) absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.278e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 4.539e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.271
{txt}Iteration 2:  Maximum absolute difference = {res} 1.047e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,828
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,319

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2189{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0265{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0029{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}5{txt}, {res}6127{txt}){col 67}={col 70}{res}    38.00
{txt}corr(u_i, Xb) = {res}0.0527{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0152589{col 43}{space 2} .0019137{col 54}{space 1}   -7.97{col 63}{space 3}0.000{col 71}{space 4}-.0190104{col 84}{space 3}-.0115074
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0092894{col 43}{space 2} .0032837{col 54}{space 1}    2.83{col 63}{space 3}0.005{col 71}{space 4} .0028522{col 84}{space 3} .0157266
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0115587{col 43}{space 2} .0021486{col 54}{space 1}   -5.38{col 63}{space 3}0.000{col 71}{space 4}-.0157707{col 84}{space 3}-.0073466
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0113954{col 43}{space 2} .0021598{col 54}{space 1}   -5.28{col 63}{space 3}0.000{col 71}{space 4}-.0156294{col 84}{space 3}-.0071614
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0037285{col 43}{space 2} .0016533{col 54}{space 1}   -2.26{col 63}{space 3}0.024{col 71}{space 4}-.0069696{col 84}{space 3}-.0004874
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5711508{col 43}{space 2} .0006535{col 54}{space 1}  874.05{col 63}{space 3}0.000{col 71}{space 4} .5698698{col 84}{space 3} .5724318
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90301583
                      {txt}sigma_e {c |} {res} .13412958
                          {txt}rho {c |} {res} .97841357{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. eststo: xtreg ihslights esmdsi esmdsi_ifdam esmdsi_ifhydro $weather if flare==0, fe vce(cluster conpfaf4)  absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.278e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 4.539e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.271
{txt}Iteration 2:  Maximum absolute difference = {res} 1.109e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,828
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,319

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2191{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0200{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0023{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}6{txt}, {res}6127{txt}){col 67}={col 70}{res}    32.25
{txt}corr(u_i, Xb) = {res}0.0471{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0152356{col 43}{space 2} .0019104{col 54}{space 1}   -7.98{col 63}{space 3}0.000{col 71}{space 4}-.0189806{col 84}{space 3}-.0114906
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0178862{col 43}{space 2} .0042123{col 54}{space 1}    4.25{col 63}{space 3}0.000{col 71}{space 4} .0096287{col 84}{space 3} .0261438
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0174643{col 43}{space 2} .0055362{col 54}{space 1}   -3.15{col 63}{space 3}0.002{col 71}{space 4}-.0283171{col 84}{space 3}-.0066114
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0116519{col 43}{space 2} .0021528{col 54}{space 1}   -5.41{col 63}{space 3}0.000{col 71}{space 4}-.0158721{col 84}{space 3}-.0074317
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0114312{col 43}{space 2} .0021563{col 54}{space 1}   -5.30{col 63}{space 3}0.000{col 71}{space 4}-.0156584{col 84}{space 3}-.0072041
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0036862{col 43}{space 2} .0016518{col 54}{space 1}   -2.23{col 63}{space 3}0.026{col 71}{space 4}-.0069243{col 84}{space 3} -.000448
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5711529{col 43}{space 2} .0006634{col 54}{space 1}  860.90{col 63}{space 3}0.000{col 71}{space 4} .5698524{col 84}{space 3} .5724535
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90306754
                      {txt}sigma_e {c |} {res} .13411227
                          {txt}rho {c |} {res} .97842144{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. eststo: xtreg ihslights esmdsi esmdsi_ifdam esmdsi_ifhydro esmdsi_pop $weather if flare==0, fe vce(cluster conpfaf4)  absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.278e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 4.539e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.271
{txt}Iteration 2:  Maximum absolute difference = {res} 1.323e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,828
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,319

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2191{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0361{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0043{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}7{txt}, {res}6127{txt}){col 67}={col 70}{res}    27.63
{txt}corr(u_i, Xb) = {res}0.0646{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0163206{col 43}{space 2} .0020013{col 54}{space 1}   -8.15{col 63}{space 3}0.000{col 71}{space 4}-.0202439{col 84}{space 3}-.0123973
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0165681{col 43}{space 2} .0040101{col 54}{space 1}    4.13{col 63}{space 3}0.000{col 71}{space 4} .0087069{col 84}{space 3} .0244292
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0171751{col 43}{space 2} .0054774{col 54}{space 1}   -3.14{col 63}{space 3}0.002{col 71}{space 4}-.0279127{col 84}{space 3}-.0064376
{txt}{space 19}esmdsi_pop {c |}{col 31}{res}{space 2} .0248704{col 43}{space 2} .0126721{col 54}{space 1}    1.96{col 63}{space 3}0.050{col 71}{space 4} .0000286{col 84}{space 3} .0497122
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0116503{col 43}{space 2} .0021512{col 54}{space 1}   -5.42{col 63}{space 3}0.000{col 71}{space 4}-.0158674{col 84}{space 3}-.0074333
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0114351{col 43}{space 2} .0021569{col 54}{space 1}   -5.30{col 63}{space 3}0.000{col 71}{space 4}-.0156633{col 84}{space 3}-.0072068
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0036877{col 43}{space 2} .0016509{col 54}{space 1}   -2.23{col 63}{space 3}0.026{col 71}{space 4} -.006924{col 84}{space 3}-.0004513
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2}  .571158{col 43}{space 2} .0006686{col 54}{space 1}  854.31{col 63}{space 3}0.000{col 71}{space 4} .5698474{col 84}{space 3} .5724686
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90285539
                      {txt}sigma_e {c |} {res}   .134107
                          {txt}rho {c |} {res} .97841317{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est3{txt} stored)

{com}. eststo: xtreg ihslights esmdsi esmdsi_ifdam esmdsi_rescap esmdsi_ifhydro esmdsi_rescaphydro $weather if flare==0, fe vce(cluster conpfaf4)  absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.278e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 3.771e-12

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.271
{txt}Iteration 2:  Maximum absolute difference = {res} 1.163e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,828
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,319

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2191{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0180{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0021{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}8{txt}, {res}6127{txt}){col 67}={col 70}{res}    26.24
{txt}corr(u_i, Xb) = {res}0.0445{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:6,128} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0152253{col 43}{space 2} .0019116{col 54}{space 1}   -7.96{col 63}{space 3}0.000{col 71}{space 4}-.0189727{col 84}{space 3}-.0114778
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0183774{col 43}{space 2} .0040794{col 54}{space 1}    4.50{col 63}{space 3}0.000{col 71}{space 4} .0103803{col 84}{space 3} .0263744
{txt}{space 16}esmdsi_rescap {c |}{col 31}{res}{space 2} -.000123{col 43}{space 2} .0002855{col 54}{space 1}   -0.43{col 63}{space 3}0.667{col 71}{space 4}-.0006827{col 84}{space 3} .0004367
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0195269{col 43}{space 2} .0060133{col 54}{space 1}   -3.25{col 63}{space 3}0.001{col 71}{space 4} -.031315{col 84}{space 3}-.0077388
{txt}{space 11}esmdsi_rescaphydro {c |}{col 31}{res}{space 2} .0002664{col 43}{space 2}  .000317{col 54}{space 1}    0.84{col 63}{space 3}0.401{col 71}{space 4}-.0003551{col 84}{space 3} .0008879
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0116573{col 43}{space 2} .0021522{col 54}{space 1}   -5.42{col 63}{space 3}0.000{col 71}{space 4}-.0158763{col 84}{space 3}-.0074383
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0114265{col 43}{space 2} .0021572{col 54}{space 1}   -5.30{col 63}{space 3}0.000{col 71}{space 4}-.0156554{col 84}{space 3}-.0071977
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0036849{col 43}{space 2} .0016518{col 54}{space 1}   -2.23{col 63}{space 3}0.026{col 71}{space 4} -.006923{col 84}{space 3}-.0004469
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5711504{col 43}{space 2} .0006601{col 54}{space 1}  865.23{col 63}{space 3}0.000{col 71}{space 4} .5698563{col 84}{space 3} .5724444
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90309797
                      {txt}sigma_e {c |} {res} .13411158
                          {txt}rho {c |} {res} .97842308{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est4{txt} stored)

{com}. 
. esttab using "../output/table4_dam_hetero_dsi.rtf", replace se r2(3) sca( "N_clust N subbasins" "N_g N cells") order(esmdsi esmdsi_ifdam esmdsi_rescap esmdsi_ifhydro esmdsi_rescaphydro esmdsi_pop) nomti obslast label noconstant onecell star( + .10 * .05 ** .01 ) drop(*dev_* _cons) /*
> */ title("Table 4. Effects of dams on impacts of moderate-or-worse drought") /*
> */ addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects.")
{res}{txt}(output written to {browse  `"../output/table4_dam_hetero_dsi.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. *sc-PDSI (moderate or worse drought)
. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam $weather i.year#i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2008.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2009.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   421,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,103

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0849{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0420{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}71{txt}, {res}6031{txt}){col 67}={col 70}{res}    34.95
{txt}corr(u_i, Xb) = {res}-0.3400{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0108365{col 43}{space 2}  .001776{col 54}{space 1}   -6.10{col 63}{space 3}0.000{col 71}{space 4}-.0143181{col 84}{space 3}-.0073548
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2} .0046307{col 43}{space 2} .0033021{col 54}{space 1}    1.40{col 63}{space 3}0.161{col 71}{space 4}-.0018426{col 84}{space 3} .0111041
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0124817{col 43}{space 2} .0021804{col 54}{space 1}   -5.72{col 63}{space 3}0.000{col 71}{space 4}-.0167561{col 84}{space 3}-.0082072
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0125028{col 43}{space 2} .0020359{col 54}{space 1}   -6.14{col 63}{space 3}0.000{col 71}{space 4} -.016494{col 84}{space 3}-.0085116
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0032109{col 43}{space 2} .0015316{col 54}{space 1}   -2.10{col 63}{space 3}0.036{col 71}{space 4}-.0062134{col 84}{space 3}-.0002085
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.0764128{col 43}{space 2} .0065143{col 54}{space 1}  -11.73{col 63}{space 3}0.000{col 71}{space 4}-.0891831{col 84}{space 3}-.0636424
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2} .0008504{col 43}{space 2} .0055168{col 54}{space 1}    0.15{col 63}{space 3}0.878{col 71}{space 4}-.0099645{col 84}{space 3} .0116652
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}-.2488559{col 43}{space 2} .0136799{col 54}{space 1}  -18.19{col 63}{space 3}0.000{col 71}{space 4}-.2756734{col 84}{space 3}-.2220385
{txt}{space 21}2000#NA  {c |}{col 31}{res}{space 2} .0478266{col 43}{space 2} .0047413{col 54}{space 1}   10.09{col 63}{space 3}0.000{col 71}{space 4} .0385319{col 84}{space 3} .0571212
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2} -.007694{col 43}{space 2} .0020881{col 54}{space 1}   -3.68{col 63}{space 3}0.000{col 71}{space 4}-.0117874{col 84}{space 3}-.0036005
{txt}{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0027193{col 43}{space 2} .0022701{col 54}{space 1}    1.20{col 63}{space 3}0.231{col 71}{space 4}-.0017308{col 84}{space 3} .0071695
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2} -.076376{col 43}{space 2} .0065034{col 54}{space 1}  -11.74{col 63}{space 3}0.000{col 71}{space 4}-.0891249{col 84}{space 3} -.063627
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2} .0082544{col 43}{space 2} .0054212{col 54}{space 1}    1.52{col 63}{space 3}0.128{col 71}{space 4}-.0023731{col 84}{space 3}  .018882
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2}-.2595038{col 43}{space 2} .0155007{col 54}{space 1}  -16.74{col 63}{space 3}0.000{col 71}{space 4}-.2898907{col 84}{space 3}-.2291168
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .0318417{col 43}{space 2} .0039665{col 54}{space 1}    8.03{col 63}{space 3}0.000{col 71}{space 4} .0240658{col 84}{space 3} .0396175
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0138787{col 43}{space 2} .0022971{col 54}{space 1}   -6.04{col 63}{space 3}0.000{col 71}{space 4}-.0183818{col 84}{space 3}-.0093757
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0167023{col 43}{space 2} .0026977{col 54}{space 1}    6.19{col 63}{space 3}0.000{col 71}{space 4} .0114138{col 84}{space 3} .0219908
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0513469{col 43}{space 2} .0049963{col 54}{space 1}  -10.28{col 63}{space 3}0.000{col 71}{space 4}-.0611414{col 84}{space 3}-.0415525
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2}   .03248{col 43}{space 2} .0068499{col 54}{space 1}    4.74{col 63}{space 3}0.000{col 71}{space 4} .0190517{col 84}{space 3} .0459083
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.2583205{col 43}{space 2} .0167412{col 54}{space 1}  -15.43{col 63}{space 3}0.000{col 71}{space 4}-.2911393{col 84}{space 3}-.2255017
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2}  .024159{col 43}{space 2} .0044057{col 54}{space 1}    5.48{col 63}{space 3}0.000{col 71}{space 4} .0155222{col 84}{space 3} .0327957
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0005233{col 43}{space 2} .0015711{col 54}{space 1}    0.33{col 63}{space 3}0.739{col 71}{space 4}-.0025566{col 84}{space 3} .0036031
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0104691{col 43}{space 2} .0027223{col 54}{space 1}   -3.85{col 63}{space 3}0.000{col 71}{space 4}-.0158059{col 84}{space 3}-.0051324
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.1394524{col 43}{space 2} .0112208{col 54}{space 1}  -12.43{col 63}{space 3}0.000{col 71}{space 4}-.1614491{col 84}{space 3}-.1174557
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.0169374{col 43}{space 2} .0068537{col 54}{space 1}   -2.47{col 63}{space 3}0.013{col 71}{space 4}-.0303731{col 84}{space 3}-.0035017
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.4254877{col 43}{space 2} .0175586{col 54}{space 1}  -24.23{col 63}{space 3}0.000{col 71}{space 4}-.4599087{col 84}{space 3}-.3910666
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.0948328{col 43}{space 2} .0048027{col 54}{space 1}  -19.75{col 63}{space 3}0.000{col 71}{space 4}-.1042479{col 84}{space 3}-.0854178
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0329311{col 43}{space 2} .0049288{col 54}{space 1}   -6.68{col 63}{space 3}0.000{col 71}{space 4}-.0425933{col 84}{space 3}-.0232689
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2}-.0043399{col 43}{space 2} .0021867{col 54}{space 1}   -1.98{col 63}{space 3}0.047{col 71}{space 4}-.0086266{col 84}{space 3}-.0000532
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.1142436{col 43}{space 2} .0102536{col 54}{space 1}  -11.14{col 63}{space 3}0.000{col 71}{space 4}-.1343442{col 84}{space 3}-.0941429
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2}-.0181171{col 43}{space 2}  .007201{col 54}{space 1}   -2.52{col 63}{space 3}0.012{col 71}{space 4}-.0322337{col 84}{space 3}-.0040005
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.3952624{col 43}{space 2} .0161844{col 54}{space 1}  -24.42{col 63}{space 3}0.000{col 71}{space 4}-.4269897{col 84}{space 3}-.3635351
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2}-.0860814{col 43}{space 2}  .004282{col 54}{space 1}  -20.10{col 63}{space 3}0.000{col 71}{space 4}-.0944756{col 84}{space 3}-.0776872
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0288254{col 43}{space 2} .0046233{col 54}{space 1}   -6.23{col 63}{space 3}0.000{col 71}{space 4}-.0378887{col 84}{space 3}-.0197621
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0066042{col 43}{space 2} .0027676{col 54}{space 1}    2.39{col 63}{space 3}0.017{col 71}{space 4} .0011786{col 84}{space 3} .0120297
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2} -.093299{col 43}{space 2} .0082987{col 54}{space 1}  -11.24{col 63}{space 3}0.000{col 71}{space 4}-.1095673{col 84}{space 3}-.0770307
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0208515{col 43}{space 2} .0076319{col 54}{space 1}   -2.73{col 63}{space 3}0.006{col 71}{space 4}-.0358127{col 84}{space 3}-.0058902
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.3294501{col 43}{space 2} .0138392{col 54}{space 1}  -23.81{col 63}{space 3}0.000{col 71}{space 4}-.3565799{col 84}{space 3}-.3023204
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2}-.0515004{col 43}{space 2} .0040198{col 54}{space 1}  -12.81{col 63}{space 3}0.000{col 71}{space 4}-.0593807{col 84}{space 3}-.0436202
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0198138{col 43}{space 2} .0036898{col 54}{space 1}   -5.37{col 63}{space 3}0.000{col 71}{space 4}-.0270472{col 84}{space 3}-.0125804
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0092387{col 43}{space 2} .0035602{col 54}{space 1}    2.59{col 63}{space 3}0.009{col 71}{space 4} .0022594{col 84}{space 3}  .016218
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0914488{col 43}{space 2} .0080343{col 54}{space 1}  -11.38{col 63}{space 3}0.000{col 71}{space 4}-.1071989{col 84}{space 3}-.0756987
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0146891{col 43}{space 2} .0056749{col 54}{space 1}   -2.59{col 63}{space 3}0.010{col 71}{space 4} -.025814{col 84}{space 3}-.0035642
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2} -.425389{col 43}{space 2} .0191157{col 54}{space 1}  -22.25{col 63}{space 3}0.000{col 71}{space 4}-.4628626{col 84}{space 3}-.3879153
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}-.0942427{col 43}{space 2}  .006101{col 54}{space 1}  -15.45{col 63}{space 3}0.000{col 71}{space 4}-.1062027{col 84}{space 3}-.0822826
{txt}{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0081163{col 43}{space 2} .0018768{col 54}{space 1}   -4.32{col 63}{space 3}0.000{col 71}{space 4}-.0117954{col 84}{space 3}-.0044372
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2}  .024883{col 43}{space 2}  .004864{col 54}{space 1}    5.12{col 63}{space 3}0.000{col 71}{space 4} .0153479{col 84}{space 3} .0344182
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#AU  {c |}{col 31}{res}{space 2} .0163405{col 43}{space 2} .0050863{col 54}{space 1}    3.21{col 63}{space 3}0.001{col 71}{space 4} .0063696{col 84}{space 3} .0263114
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.2739578{col 43}{space 2} .0140402{col 54}{space 1}  -19.51{col 63}{space 3}0.000{col 71}{space 4}-.3014817{col 84}{space 3}-.2464339
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2} .0118882{col 43}{space 2} .0029585{col 54}{space 1}    4.02{col 63}{space 3}0.000{col 71}{space 4} .0060885{col 84}{space 3}  .017688
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0071032{col 43}{space 2} .0018817{col 54}{space 1}    3.77{col 63}{space 3}0.000{col 71}{space 4} .0034143{col 84}{space 3}  .010792
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0145252{col 43}{space 2} .0035165{col 54}{space 1}    4.13{col 63}{space 3}0.000{col 71}{space 4} .0076315{col 84}{space 3} .0214188
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.0342956{col 43}{space 2} .0038619{col 54}{space 1}   -8.88{col 63}{space 3}0.000{col 71}{space 4}-.0418663{col 84}{space 3} -.026725
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.2884563{col 43}{space 2}  .013989{col 54}{space 1}  -20.62{col 63}{space 3}0.000{col 71}{space 4}-.3158796{col 84}{space 3}-.2610329
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#SA  {c |}{col 31}{res}{space 2}  .005892{col 43}{space 2} .0018642{col 54}{space 1}    3.16{col 63}{space 3}0.002{col 71}{space 4} .0022375{col 84}{space 3} .0095465
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0107981{col 43}{space 2} .0031871{col 54}{space 1}    3.39{col 63}{space 3}0.001{col 71}{space 4} .0045502{col 84}{space 3} .0170461
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0878923{col 43}{space 2} .0079618{col 54}{space 1}  -11.04{col 63}{space 3}0.000{col 71}{space 4}-.1035004{col 84}{space 3}-.0722843
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0194953{col 43}{space 2} .0071792{col 54}{space 1}   -2.72{col 63}{space 3}0.007{col 71}{space 4}-.0335691{col 84}{space 3}-.0054214
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.3830945{col 43}{space 2} .0155253{col 54}{space 1}  -24.68{col 63}{space 3}0.000{col 71}{space 4}-.4135297{col 84}{space 3}-.3526592
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2} -.079611{col 43}{space 2}  .003988{col 54}{space 1}  -19.96{col 63}{space 3}0.000{col 71}{space 4}-.0874289{col 84}{space 3} -.071793
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0750439{col 43}{space 2} .0090742{col 54}{space 1}    8.27{col 63}{space 3}0.000{col 71}{space 4} .0572552{col 84}{space 3} .0928325
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0655078{col 43}{space 2} .0084236{col 54}{space 1}    7.78{col 63}{space 3}0.000{col 71}{space 4} .0489945{col 84}{space 3} .0820211
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0985153{col 43}{space 2} .0141145{col 54}{space 1}    6.98{col 63}{space 3}0.000{col 71}{space 4} .0708457{col 84}{space 3} .1261848
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#NA  {c |}{col 31}{res}{space 2} .1243995{col 43}{space 2} .0061829{col 54}{space 1}   20.12{col 63}{space 3}0.000{col 71}{space 4} .1122788{col 84}{space 3} .1365202
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0735815{col 43}{space 2} .0104488{col 54}{space 1}    7.04{col 63}{space 3}0.000{col 71}{space 4} .0530981{col 84}{space 3} .0940649
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0474817{col 43}{space 2} .0064046{col 54}{space 1}    7.41{col 63}{space 3}0.000{col 71}{space 4} .0349264{col 84}{space 3} .0600371
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0177093{col 43}{space 2} .0053191{col 54}{space 1}    3.33{col 63}{space 3}0.001{col 71}{space 4}  .007282{col 84}{space 3} .0281367
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0601084{col 43}{space 2} .0079143{col 54}{space 1}    7.59{col 63}{space 3}0.000{col 71}{space 4} .0445936{col 84}{space 3} .0756232
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2}-.1670452{col 43}{space 2} .0110526{col 54}{space 1}  -15.11{col 63}{space 3}0.000{col 71}{space 4}-.1887122{col 84}{space 3}-.1453782
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2}  .019731{col 43}{space 2} .0040272{col 54}{space 1}    4.90{col 63}{space 3}0.000{col 71}{space 4} .0118363{col 84}{space 3} .0276257
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0501667{col 43}{space 2} .0072048{col 54}{space 1}    6.96{col 63}{space 3}0.000{col 71}{space 4} .0360428{col 84}{space 3} .0642907
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .6200497{col 43}{space 2} .0031091{col 54}{space 1}  199.43{col 63}{space 3}0.000{col 71}{space 4} .6139548{col 84}{space 3} .6261446
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .91046186
                      {txt}sigma_e {c |} {res} .13165938
                          {txt}rho {c |} {res} .97951707{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam esmpdsi_ifhydro $weather i.year#i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2006.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2009.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   421,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,103

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0481{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0236{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}72{txt}, {res}6031{txt}){col 67}={col 70}{res}    34.70
{txt}corr(u_i, Xb) = {res}-0.3045{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0108402{col 43}{space 2} .0017761{col 54}{space 1}   -6.10{col 63}{space 3}0.000{col 71}{space 4}-.0143221{col 84}{space 3}-.0073583
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2} .0028968{col 43}{space 2} .0040238{col 54}{space 1}    0.72{col 63}{space 3}0.472{col 71}{space 4}-.0049913{col 84}{space 3} .0107848
{txt}{space 14}esmpdsi_ifhydro {c |}{col 31}{res}{space 2}  .003766{col 43}{space 2} .0056564{col 54}{space 1}    0.67{col 63}{space 3}0.506{col 71}{space 4}-.0073225{col 84}{space 3} .0148545
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0124665{col 43}{space 2} .0021839{col 54}{space 1}   -5.71{col 63}{space 3}0.000{col 71}{space 4}-.0167477{col 84}{space 3}-.0081853
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0124928{col 43}{space 2} .0020352{col 54}{space 1}   -6.14{col 63}{space 3}0.000{col 71}{space 4}-.0164826{col 84}{space 3} -.008503
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0032155{col 43}{space 2} .0015318{col 54}{space 1}   -2.10{col 63}{space 3}0.036{col 71}{space 4}-.0062183{col 84}{space 3}-.0002127
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.0763128{col 43}{space 2} .0065344{col 54}{space 1}  -11.68{col 63}{space 3}0.000{col 71}{space 4}-.0891226{col 84}{space 3}-.0635029
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2} .0008354{col 43}{space 2} .0055056{col 54}{space 1}    0.15{col 63}{space 3}0.879{col 71}{space 4}-.0099575{col 84}{space 3} .0116282
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}-.2488722{col 43}{space 2} .0136837{col 54}{space 1}  -18.19{col 63}{space 3}0.000{col 71}{space 4}-.2756972{col 84}{space 3}-.2220473
{txt}{space 21}2000#NA  {c |}{col 31}{res}{space 2} .1420582{col 43}{space 2} .0075991{col 54}{space 1}   18.69{col 63}{space 3}0.000{col 71}{space 4} .1271613{col 84}{space 3}  .156955
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}-.0077037{col 43}{space 2} .0020863{col 54}{space 1}   -3.69{col 63}{space 3}0.000{col 71}{space 4}-.0117937{col 84}{space 3}-.0036137
{txt}{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0027636{col 43}{space 2} .0022664{col 54}{space 1}    1.22{col 63}{space 3}0.223{col 71}{space 4}-.0016794{col 84}{space 3} .0072066
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0762619{col 43}{space 2} .0065212{col 54}{space 1}  -11.69{col 63}{space 3}0.000{col 71}{space 4}-.0890458{col 84}{space 3} -.063478
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2} .0082264{col 43}{space 2}  .005409{col 54}{space 1}    1.52{col 63}{space 3}0.128{col 71}{space 4}-.0023772{col 84}{space 3}   .01883
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2}-.2594996{col 43}{space 2} .0155041{col 54}{space 1}  -16.74{col 63}{space 3}0.000{col 71}{space 4}-.2898931{col 84}{space 3}-.2291061
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .1260282{col 43}{space 2} .0068207{col 54}{space 1}   18.48{col 63}{space 3}0.000{col 71}{space 4} .1126572{col 84}{space 3} .1393991
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0138686{col 43}{space 2} .0023039{col 54}{space 1}   -6.02{col 63}{space 3}0.000{col 71}{space 4}-.0183849{col 84}{space 3}-.0093522
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0167582{col 43}{space 2} .0026983{col 54}{space 1}    6.21{col 63}{space 3}0.000{col 71}{space 4} .0114685{col 84}{space 3} .0220479
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0512249{col 43}{space 2} .0050109{col 54}{space 1}  -10.22{col 63}{space 3}0.000{col 71}{space 4}-.0610481{col 84}{space 3}-.0414017
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0325059{col 43}{space 2} .0068404{col 54}{space 1}    4.75{col 63}{space 3}0.000{col 71}{space 4} .0190962{col 84}{space 3} .0459156
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.2582985{col 43}{space 2} .0167339{col 54}{space 1}  -15.44{col 63}{space 3}0.000{col 71}{space 4}-.2911029{col 84}{space 3} -.225494
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .1183937{col 43}{space 2} .0067521{col 54}{space 1}   17.53{col 63}{space 3}0.000{col 71}{space 4} .1051572{col 84}{space 3} .1316303
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0005127{col 43}{space 2} .0015737{col 54}{space 1}    0.33{col 63}{space 3}0.745{col 71}{space 4}-.0025724{col 84}{space 3} .0035977
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2} -.010402{col 43}{space 2}  .002714{col 54}{space 1}   -3.83{col 63}{space 3}0.000{col 71}{space 4}-.0157225{col 84}{space 3}-.0050816
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.1393605{col 43}{space 2} .0112277{col 54}{space 1}  -12.41{col 63}{space 3}0.000{col 71}{space 4}-.1613707{col 84}{space 3}-.1173503
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.0169297{col 43}{space 2} .0068538{col 54}{space 1}   -2.47{col 63}{space 3}0.014{col 71}{space 4}-.0303657{col 84}{space 3}-.0034938
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2} -.425537{col 43}{space 2} .0175758{col 54}{space 1}  -24.21{col 63}{space 3}0.000{col 71}{space 4}-.4599919{col 84}{space 3}-.3910821
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.0006115{col 43}{space 2} .0040902{col 54}{space 1}   -0.15{col 63}{space 3}0.881{col 71}{space 4}-.0086297{col 84}{space 3} .0074068
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0329434{col 43}{space 2} .0049285{col 54}{space 1}   -6.68{col 63}{space 3}0.000{col 71}{space 4}-.0426051{col 84}{space 3}-.0232818
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2}-.0042929{col 43}{space 2} .0021799{col 54}{space 1}   -1.97{col 63}{space 3}0.049{col 71}{space 4}-.0085663{col 84}{space 3}-.0000196
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.1141994{col 43}{space 2} .0102634{col 54}{space 1}  -11.13{col 63}{space 3}0.000{col 71}{space 4}-.1343193{col 84}{space 3}-.0940796
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2}-.0180825{col 43}{space 2} .0072029{col 54}{space 1}   -2.51{col 63}{space 3}0.012{col 71}{space 4}-.0322027{col 84}{space 3}-.0039622
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.3952613{col 43}{space 2} .0161916{col 54}{space 1}  -24.41{col 63}{space 3}0.000{col 71}{space 4}-.4270027{col 84}{space 3}-.3635198
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2} .0081253{col 43}{space 2} .0041738{col 54}{space 1}    1.95{col 63}{space 3}0.052{col 71}{space 4}-.0000568{col 84}{space 3} .0163074
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0288153{col 43}{space 2} .0046345{col 54}{space 1}   -6.22{col 63}{space 3}0.000{col 71}{space 4}-.0379006{col 84}{space 3}  -.01973
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2}  .006697{col 43}{space 2} .0027625{col 54}{space 1}    2.42{col 63}{space 3}0.015{col 71}{space 4} .0012816{col 84}{space 3} .0121124
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0932691{col 43}{space 2} .0083049{col 54}{space 1}  -11.23{col 63}{space 3}0.000{col 71}{space 4}-.1095496{col 84}{space 3}-.0769885
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0208075{col 43}{space 2} .0076314{col 54}{space 1}   -2.73{col 63}{space 3}0.006{col 71}{space 4}-.0357679{col 84}{space 3}-.0058472
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.3295021{col 43}{space 2} .0138462{col 54}{space 1}  -23.80{col 63}{space 3}0.000{col 71}{space 4}-.3566455{col 84}{space 3}-.3023587
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2} .0427148{col 43}{space 2} .0043005{col 54}{space 1}    9.93{col 63}{space 3}0.000{col 71}{space 4} .0342844{col 84}{space 3} .0511453
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0197195{col 43}{space 2} .0037368{col 54}{space 1}   -5.28{col 63}{space 3}0.000{col 71}{space 4} -.027045{col 84}{space 3} -.012394
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0092829{col 43}{space 2} .0035596{col 54}{space 1}    2.61{col 63}{space 3}0.009{col 71}{space 4} .0023048{col 84}{space 3}  .016261
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0914083{col 43}{space 2} .0080426{col 54}{space 1}  -11.37{col 63}{space 3}0.000{col 71}{space 4}-.1071747{col 84}{space 3}-.0756418
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0146733{col 43}{space 2} .0056706{col 54}{space 1}   -2.59{col 63}{space 3}0.010{col 71}{space 4}-.0257897{col 84}{space 3}-.0035568
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.4254181{col 43}{space 2} .0191118{col 54}{space 1}  -22.26{col 63}{space 3}0.000{col 71}{space 4}-.4628841{col 84}{space 3} -.387952
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0080603{col 43}{space 2} .0018889{col 54}{space 1}   -4.27{col 63}{space 3}0.000{col 71}{space 4}-.0117633{col 84}{space 3}-.0043573
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0249648{col 43}{space 2} .0048601{col 54}{space 1}    5.14{col 63}{space 3}0.000{col 71}{space 4} .0154372{col 84}{space 3} .0344924
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#AU  {c |}{col 31}{res}{space 2} .0163292{col 43}{space 2} .0050882{col 54}{space 1}    3.21{col 63}{space 3}0.001{col 71}{space 4} .0063545{col 84}{space 3} .0263039
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.2739678{col 43}{space 2} .0140398{col 54}{space 1}  -19.51{col 63}{space 3}0.000{col 71}{space 4}-.3014908{col 84}{space 3}-.2464449
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2}  .106108{col 43}{space 2} .0057049{col 54}{space 1}   18.60{col 63}{space 3}0.000{col 71}{space 4} .0949243{col 84}{space 3} .1172916
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0071477{col 43}{space 2} .0018685{col 54}{space 1}    3.83{col 63}{space 3}0.000{col 71}{space 4} .0034847{col 84}{space 3} .0108107
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0146006{col 43}{space 2} .0035143{col 54}{space 1}    4.15{col 63}{space 3}0.000{col 71}{space 4} .0077113{col 84}{space 3} .0214899
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.0343084{col 43}{space 2} .0038494{col 54}{space 1}   -8.91{col 63}{space 3}0.000{col 71}{space 4}-.0418545{col 84}{space 3}-.0267622
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.2884144{col 43}{space 2} .0139879{col 54}{space 1}  -20.62{col 63}{space 3}0.000{col 71}{space 4}-.3158357{col 84}{space 3}-.2609932
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2} .0942093{col 43}{space 2} .0060996{col 54}{space 1}   15.45{col 63}{space 3}0.000{col 71}{space 4} .0822518{col 84}{space 3} .1061667
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0059003{col 43}{space 2} .0018526{col 54}{space 1}    3.18{col 63}{space 3}0.001{col 71}{space 4} .0022685{col 84}{space 3} .0095321
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0108488{col 43}{space 2} .0031856{col 54}{space 1}    3.41{col 63}{space 3}0.001{col 71}{space 4} .0046039{col 84}{space 3} .0170937
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0878699{col 43}{space 2} .0079548{col 54}{space 1}  -11.05{col 63}{space 3}0.000{col 71}{space 4}-.1034642{col 84}{space 3}-.0722757
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0194618{col 43}{space 2}   .00718{col 54}{space 1}   -2.71{col 63}{space 3}0.007{col 71}{space 4}-.0335371{col 84}{space 3}-.0053866
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.3830473{col 43}{space 2} .0155263{col 54}{space 1}  -24.67{col 63}{space 3}0.000{col 71}{space 4}-.4134843{col 84}{space 3}-.3526103
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2} .0146103{col 43}{space 2} .0049636{col 54}{space 1}    2.94{col 63}{space 3}0.003{col 71}{space 4} .0048799{col 84}{space 3} .0243406
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0750807{col 43}{space 2} .0090788{col 54}{space 1}    8.27{col 63}{space 3}0.000{col 71}{space 4}  .057283{col 84}{space 3} .0928785
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0655356{col 43}{space 2} .0084229{col 54}{space 1}    7.78{col 63}{space 3}0.000{col 71}{space 4} .0490237{col 84}{space 3} .0820476
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0984665{col 43}{space 2} .0141177{col 54}{space 1}    6.97{col 63}{space 3}0.000{col 71}{space 4} .0707908{col 84}{space 3} .1261422
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#NA  {c |}{col 31}{res}{space 2} .2185887{col 43}{space 2} .0090638{col 54}{space 1}   24.12{col 63}{space 3}0.000{col 71}{space 4} .2008205{col 84}{space 3} .2363569
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0736618{col 43}{space 2} .0104137{col 54}{space 1}    7.07{col 63}{space 3}0.000{col 71}{space 4} .0532473{col 84}{space 3} .0940763
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0474955{col 43}{space 2} .0064098{col 54}{space 1}    7.41{col 63}{space 3}0.000{col 71}{space 4}   .03493{col 84}{space 3}  .060061
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0177387{col 43}{space 2} .0053065{col 54}{space 1}    3.34{col 63}{space 3}0.001{col 71}{space 4}  .007336{col 84}{space 3} .0281414
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0600918{col 43}{space 2} .0079122{col 54}{space 1}    7.59{col 63}{space 3}0.000{col 71}{space 4}  .044581{col 84}{space 3} .0756027
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2}-.1670442{col 43}{space 2} .0110532{col 54}{space 1}  -15.11{col 63}{space 3}0.000{col 71}{space 4}-.1887124{col 84}{space 3} -.145376
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2} .1140031{col 43}{space 2} .0060514{col 54}{space 1}   18.84{col 63}{space 3}0.000{col 71}{space 4} .1021403{col 84}{space 3} .1258659
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0502456{col 43}{space 2} .0071676{col 54}{space 1}    7.01{col 63}{space 3}0.000{col 71}{space 4} .0361945{col 84}{space 3} .0642966
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2}  .603393{col 43}{space 2} .0033113{col 54}{space 1}  182.22{col 63}{space 3}0.000{col 71}{space 4} .5969017{col 84}{space 3} .6098843
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90769924
                      {txt}sigma_e {c |} {res} .13165881
                          {txt}rho {c |} {res} .97939494{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam esmpdsi_ifhydro esmpdsi_pop $weather i.year#i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2006.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2009.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   421,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,103

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2220{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0465{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0225{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}73{txt}, {res}6031{txt}){col 67}={col 70}{res}    34.51
{txt}corr(u_i, Xb) = {res}-0.3008{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0094501{col 43}{space 2} .0017662{col 54}{space 1}   -5.35{col 63}{space 3}0.000{col 71}{space 4}-.0129125{col 84}{space 3}-.0059877
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2} .0044302{col 43}{space 2} .0039977{col 54}{space 1}    1.11{col 63}{space 3}0.268{col 71}{space 4}-.0034068{col 84}{space 3} .0122671
{txt}{space 14}esmpdsi_ifhydro {c |}{col 31}{res}{space 2} .0035952{col 43}{space 2} .0058033{col 54}{space 1}    0.62{col 63}{space 3}0.536{col 71}{space 4}-.0077814{col 84}{space 3} .0149718
{txt}{space 18}esmpdsi_pop {c |}{col 31}{res}{space 2}-.0284086{col 43}{space 2} .0155574{col 54}{space 1}   -1.83{col 63}{space 3}0.068{col 71}{space 4}-.0589067{col 84}{space 3} .0020896
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0125101{col 43}{space 2}  .002182{col 54}{space 1}   -5.73{col 63}{space 3}0.000{col 71}{space 4}-.0167877{col 84}{space 3}-.0082325
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0124649{col 43}{space 2} .0020349{col 54}{space 1}   -6.13{col 63}{space 3}0.000{col 71}{space 4} -.016454{col 84}{space 3}-.0084758
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0032113{col 43}{space 2} .0015312{col 54}{space 1}   -2.10{col 63}{space 3}0.036{col 71}{space 4} -.006213{col 84}{space 3}-.0002097
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.0763446{col 43}{space 2} .0065325{col 54}{space 1}  -11.69{col 63}{space 3}0.000{col 71}{space 4}-.0891507{col 84}{space 3}-.0635386
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2}-.0978849{col 43}{space 2} .0154698{col 54}{space 1}   -6.33{col 63}{space 3}0.000{col 71}{space 4}-.1282113{col 84}{space 3}-.0675585
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}-.2487648{col 43}{space 2}  .013685{col 54}{space 1}  -18.18{col 63}{space 3}0.000{col 71}{space 4}-.2755922{col 84}{space 3}-.2219374
{txt}{space 21}2000#NA  {c |}{col 31}{res}{space 2} .1420585{col 43}{space 2} .0075995{col 54}{space 1}   18.69{col 63}{space 3}0.000{col 71}{space 4} .1271609{col 84}{space 3} .1569562
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}-.0076092{col 43}{space 2} .0020742{col 54}{space 1}   -3.67{col 63}{space 3}0.000{col 71}{space 4}-.0116752{col 84}{space 3}-.0035431
{txt}{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0027477{col 43}{space 2} .0022678{col 54}{space 1}    1.21{col 63}{space 3}0.226{col 71}{space 4}-.0016979{col 84}{space 3} .0071934
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0760997{col 43}{space 2} .0065109{col 54}{space 1}  -11.69{col 63}{space 3}0.000{col 71}{space 4}-.0888633{col 84}{space 3} -.063336
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}-.0904628{col 43}{space 2} .0126647{col 54}{space 1}   -7.14{col 63}{space 3}0.000{col 71}{space 4}-.1152901{col 84}{space 3}-.0656355
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2}-.2594178{col 43}{space 2} .0155053{col 54}{space 1}  -16.73{col 63}{space 3}0.000{col 71}{space 4}-.2898137{col 84}{space 3}-.2290219
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .1259656{col 43}{space 2} .0068203{col 54}{space 1}   18.47{col 63}{space 3}0.000{col 71}{space 4} .1125954{col 84}{space 3} .1393358
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0137273{col 43}{space 2} .0022743{col 54}{space 1}   -6.04{col 63}{space 3}0.000{col 71}{space 4}-.0181858{col 84}{space 3}-.0092689
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0167026{col 43}{space 2} .0026918{col 54}{space 1}    6.21{col 63}{space 3}0.000{col 71}{space 4} .0114258{col 84}{space 3} .0219795
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2} -.050849{col 43}{space 2} .0049883{col 54}{space 1}  -10.19{col 63}{space 3}0.000{col 71}{space 4}-.0606279{col 84}{space 3}-.0410702
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2}-.0659083{col 43}{space 2} .0128151{col 54}{space 1}   -5.14{col 63}{space 3}0.000{col 71}{space 4}-.0910305{col 84}{space 3}-.0407862
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.2582418{col 43}{space 2} .0167291{col 54}{space 1}  -15.44{col 63}{space 3}0.000{col 71}{space 4}-.2910369{col 84}{space 3}-.2254467
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .1182167{col 43}{space 2} .0067557{col 54}{space 1}   17.50{col 63}{space 3}0.000{col 71}{space 4}  .104973{col 84}{space 3} .1314603
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0005781{col 43}{space 2} .0015735{col 54}{space 1}    0.37{col 63}{space 3}0.713{col 71}{space 4}-.0025065{col 84}{space 3} .0036627
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0105114{col 43}{space 2} .0027317{col 54}{space 1}   -3.85{col 63}{space 3}0.000{col 71}{space 4}-.0158665{col 84}{space 3}-.0051564
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.1392464{col 43}{space 2} .0112719{col 54}{space 1}  -12.35{col 63}{space 3}0.000{col 71}{space 4}-.1613433{col 84}{space 3}-.1171495
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.1150647{col 43}{space 2} .0146658{col 54}{space 1}   -7.85{col 63}{space 3}0.000{col 71}{space 4}-.1438149{col 84}{space 3}-.0863146
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.4254849{col 43}{space 2} .0175862{col 54}{space 1}  -24.19{col 63}{space 3}0.000{col 71}{space 4}-.4599602{col 84}{space 3}-.3910096
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.0007575{col 43}{space 2} .0040879{col 54}{space 1}   -0.19{col 63}{space 3}0.853{col 71}{space 4}-.0087712{col 84}{space 3} .0072563
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0329376{col 43}{space 2} .0049137{col 54}{space 1}   -6.70{col 63}{space 3}0.000{col 71}{space 4}-.0425703{col 84}{space 3}-.0233049
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2}-.0043277{col 43}{space 2} .0021866{col 54}{space 1}   -1.98{col 63}{space 3}0.048{col 71}{space 4}-.0086143{col 84}{space 3}-.0000412
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.1139138{col 43}{space 2} .0102953{col 54}{space 1}  -11.06{col 63}{space 3}0.000{col 71}{space 4}-.1340963{col 84}{space 3}-.0937314
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2}-.1163806{col 43}{space 2}   .01763{col 54}{space 1}   -6.60{col 63}{space 3}0.000{col 71}{space 4}-.1509418{col 84}{space 3}-.0818194
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.3950899{col 43}{space 2} .0161943{col 54}{space 1}  -24.40{col 63}{space 3}0.000{col 71}{space 4}-.4268364{col 84}{space 3}-.3633433
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2} .0081641{col 43}{space 2} .0041685{col 54}{space 1}    1.96{col 63}{space 3}0.050{col 71}{space 4}-7.63e-06{col 84}{space 3} .0163359
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0288346{col 43}{space 2} .0046126{col 54}{space 1}   -6.25{col 63}{space 3}0.000{col 71}{space 4} -.037877{col 84}{space 3}-.0197922
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0066016{col 43}{space 2} .0027618{col 54}{space 1}    2.39{col 63}{space 3}0.017{col 71}{space 4} .0011875{col 84}{space 3} .0120156
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0931142{col 43}{space 2} .0083312{col 54}{space 1}  -11.18{col 63}{space 3}0.000{col 71}{space 4}-.1094464{col 84}{space 3} -.076782
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.1190682{col 43}{space 2} .0184666{col 54}{space 1}   -6.45{col 63}{space 3}0.000{col 71}{space 4}-.1552693{col 84}{space 3} -.082867
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2} -.329374{col 43}{space 2} .0138488{col 54}{space 1}  -23.78{col 63}{space 3}0.000{col 71}{space 4}-.3565225{col 84}{space 3}-.3022255
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2} .0428506{col 43}{space 2} .0042946{col 54}{space 1}    9.98{col 63}{space 3}0.000{col 71}{space 4} .0344316{col 84}{space 3} .0512696
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0198424{col 43}{space 2} .0036712{col 54}{space 1}   -5.40{col 63}{space 3}0.000{col 71}{space 4}-.0270392{col 84}{space 3}-.0126456
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0092432{col 43}{space 2} .0035533{col 54}{space 1}    2.60{col 63}{space 3}0.009{col 71}{space 4} .0022774{col 84}{space 3} .0162089
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0914594{col 43}{space 2} .0080691{col 54}{space 1}  -11.33{col 63}{space 3}0.000{col 71}{space 4}-.1072777{col 84}{space 3} -.075641
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.1131604{col 43}{space 2} .0171173{col 54}{space 1}   -6.61{col 63}{space 3}0.000{col 71}{space 4}-.1467163{col 84}{space 3}-.0796045
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.4253161{col 43}{space 2} .0191039{col 54}{space 1}  -22.26{col 63}{space 3}0.000{col 71}{space 4}-.4627665{col 84}{space 3}-.3878658
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0081077{col 43}{space 2} .0018556{col 54}{space 1}   -4.37{col 63}{space 3}0.000{col 71}{space 4}-.0117453{col 84}{space 3}-.0044701
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0248301{col 43}{space 2} .0048506{col 54}{space 1}    5.12{col 63}{space 3}0.000{col 71}{space 4} .0153212{col 84}{space 3} .0343391
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#AU  {c |}{col 31}{res}{space 2}-.0821733{col 43}{space 2} .0114213{col 54}{space 1}   -7.19{col 63}{space 3}0.000{col 71}{space 4}-.1045632{col 84}{space 3}-.0597834
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.2737675{col 43}{space 2} .0140381{col 54}{space 1}  -19.50{col 63}{space 3}0.000{col 71}{space 4}-.3012872{col 84}{space 3}-.2462478
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2} .1060976{col 43}{space 2} .0057066{col 54}{space 1}   18.59{col 63}{space 3}0.000{col 71}{space 4} .0949107{col 84}{space 3} .1172845
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0070316{col 43}{space 2} .0018833{col 54}{space 1}    3.73{col 63}{space 3}0.000{col 71}{space 4} .0033397{col 84}{space 3} .0107235
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2}  .014505{col 43}{space 2} .0035091{col 54}{space 1}    4.13{col 63}{space 3}0.000{col 71}{space 4}  .007626{col 84}{space 3}  .021384
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.0344996{col 43}{space 2} .0038164{col 54}{space 1}   -9.04{col 63}{space 3}0.000{col 71}{space 4}-.0419811{col 84}{space 3}-.0270181
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}-.0984633{col 43}{space 2} .0142145{col 54}{space 1}   -6.93{col 63}{space 3}0.000{col 71}{space 4}-.1263287{col 84}{space 3}-.0705978
{txt}{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.2882316{col 43}{space 2} .0139866{col 54}{space 1}  -20.61{col 63}{space 3}0.000{col 71}{space 4}-.3156503{col 84}{space 3}-.2608129
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2} .0942094{col 43}{space 2}  .006099{col 54}{space 1}   15.45{col 63}{space 3}0.000{col 71}{space 4} .0822531{col 84}{space 3} .1061656
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0058006{col 43}{space 2}  .001858{col 54}{space 1}    3.12{col 63}{space 3}0.002{col 71}{space 4} .0021581{col 84}{space 3}  .009443
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0107562{col 43}{space 2} .0031804{col 54}{space 1}    3.38{col 63}{space 3}0.001{col 71}{space 4} .0045215{col 84}{space 3} .0169909
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0878615{col 43}{space 2} .0079539{col 54}{space 1}  -11.05{col 63}{space 3}0.000{col 71}{space 4}-.1034541{col 84}{space 3} -.072269
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.1179248{col 43}{space 2} .0194511{col 54}{space 1}   -6.06{col 63}{space 3}0.000{col 71}{space 4}-.1560559{col 84}{space 3}-.0797936
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.3829405{col 43}{space 2} .0155273{col 54}{space 1}  -24.66{col 63}{space 3}0.000{col 71}{space 4}-.4133795{col 84}{space 3}-.3525014
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2}  .014644{col 43}{space 2} .0049632{col 54}{space 1}    2.95{col 63}{space 3}0.003{col 71}{space 4} .0049143{col 84}{space 3} .0243736
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0750486{col 43}{space 2} .0090541{col 54}{space 1}    8.29{col 63}{space 3}0.000{col 71}{space 4} .0572992{col 84}{space 3} .0927979
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0655202{col 43}{space 2} .0083931{col 54}{space 1}    7.81{col 63}{space 3}0.000{col 71}{space 4} .0490668{col 84}{space 3} .0819736
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#NA  {c |}{col 31}{res}{space 2} .2186997{col 43}{space 2} .0090644{col 54}{space 1}   24.13{col 63}{space 3}0.000{col 71}{space 4} .2009303{col 84}{space 3} .2364691
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2}  .073509{col 43}{space 2} .0104607{col 54}{space 1}    7.03{col 63}{space 3}0.000{col 71}{space 4} .0530024{col 84}{space 3} .0940156
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0475072{col 43}{space 2} .0063886{col 54}{space 1}    7.44{col 63}{space 3}0.000{col 71}{space 4} .0349832{col 84}{space 3} .0600311
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0176295{col 43}{space 2}  .005305{col 54}{space 1}    3.32{col 63}{space 3}0.001{col 71}{space 4} .0072299{col 84}{space 3} .0280291
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2}-.0385988{col 43}{space 2} .0119448{col 54}{space 1}   -3.23{col 63}{space 3}0.001{col 71}{space 4}-.0620149{col 84}{space 3}-.0151827
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2}-.1669281{col 43}{space 2} .0110497{col 54}{space 1}  -15.11{col 63}{space 3}0.000{col 71}{space 4}-.1885896{col 84}{space 3}-.1452667
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2} .1140166{col 43}{space 2} .0060521{col 54}{space 1}   18.84{col 63}{space 3}0.000{col 71}{space 4} .1021524{col 84}{space 3} .1258808
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0501398{col 43}{space 2} .0072249{col 54}{space 1}    6.94{col 63}{space 3}0.000{col 71}{space 4} .0359764{col 84}{space 3} .0643033
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .6064445{col 43}{space 2} .0033314{col 54}{space 1}  182.04{col 63}{space 3}0.000{col 71}{space 4} .5999139{col 84}{space 3} .6129752
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90707513
                      {txt}sigma_e {c |} {res} .13165315
                          {txt}rho {c |} {res}  .9793689{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est3{txt} stored)

{com}. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam esmpdsi_rescap esmpdsi_ifhydro esmpdsi_rescaphydro $weather i.year#i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2008.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2009.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   421,236
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    35,103

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0823{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0400{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}74{txt}, {res}6031{txt}){col 67}={col 70}{res}    35.25
{txt}corr(u_i, Xb) = {res}-0.3345{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:6,032} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0108437{col 43}{space 2} .0017762{col 54}{space 1}   -6.11{col 63}{space 3}0.000{col 71}{space 4}-.0143256{col 84}{space 3}-.0073618
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2} .0022382{col 43}{space 2} .0039954{col 54}{space 1}    0.56{col 63}{space 3}0.575{col 71}{space 4}-.0055943{col 84}{space 3} .0100707
{txt}{space 15}esmpdsi_rescap {c |}{col 31}{res}{space 2} .0001569{col 43}{space 2} .0003356{col 54}{space 1}    0.47{col 63}{space 3}0.640{col 71}{space 4} -.000501{col 84}{space 3} .0008147
{txt}{space 14}esmpdsi_ifhydro {c |}{col 31}{res}{space 2} .0033769{col 43}{space 2}  .006037{col 54}{space 1}    0.56{col 63}{space 3}0.576{col 71}{space 4}-.0084579{col 84}{space 3} .0152116
{txt}{space 10}esmpdsi_rescaphydro {c |}{col 31}{res}{space 2}-.0001066{col 43}{space 2} .0003984{col 54}{space 1}   -0.27{col 63}{space 3}0.789{col 71}{space 4}-.0008875{col 84}{space 3} .0006744
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0124584{col 43}{space 2} .0021813{col 54}{space 1}   -5.71{col 63}{space 3}0.000{col 71}{space 4}-.0167346{col 84}{space 3}-.0081823
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0124948{col 43}{space 2} .0020369{col 54}{space 1}   -6.13{col 63}{space 3}0.000{col 71}{space 4}-.0164877{col 84}{space 3}-.0085018
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} -.003214{col 43}{space 2} .0015311{col 54}{space 1}   -2.10{col 63}{space 3}0.036{col 71}{space 4}-.0062156{col 84}{space 3}-.0002125
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.0763776{col 43}{space 2} .0065407{col 54}{space 1}  -11.68{col 63}{space 3}0.000{col 71}{space 4}-.0891998{col 84}{space 3}-.0635554
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2} -.097647{col 43}{space 2} .0153556{col 54}{space 1}   -6.36{col 63}{space 3}0.000{col 71}{space 4}-.1277495{col 84}{space 3}-.0675444
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}-.2489476{col 43}{space 2} .0136898{col 54}{space 1}  -18.18{col 63}{space 3}0.000{col 71}{space 4}-.2757845{col 84}{space 3}-.2221107
{txt}{space 21}2000#NA  {c |}{col 31}{res}{space 2} .0478454{col 43}{space 2} .0047411{col 54}{space 1}   10.09{col 63}{space 3}0.000{col 71}{space 4} .0385511{col 84}{space 3} .0571397
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}-.0077209{col 43}{space 2} .0020852{col 54}{space 1}   -3.70{col 63}{space 3}0.000{col 71}{space 4}-.0118087{col 84}{space 3} -.003633
{txt}{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0027682{col 43}{space 2} .0022674{col 54}{space 1}    1.22{col 63}{space 3}0.222{col 71}{space 4}-.0016767{col 84}{space 3}  .007213
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2} -.076315{col 43}{space 2} .0065334{col 54}{space 1}  -11.68{col 63}{space 3}0.000{col 71}{space 4}-.0891228{col 84}{space 3}-.0635072
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}-.0902516{col 43}{space 2}  .012565{col 54}{space 1}   -7.18{col 63}{space 3}0.000{col 71}{space 4}-.1148834{col 84}{space 3}-.0656198
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2}-.2595458{col 43}{space 2} .0155099{col 54}{space 1}  -16.73{col 63}{space 3}0.000{col 71}{space 4}-.2899508{col 84}{space 3}-.2291408
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .0318283{col 43}{space 2} .0039699{col 54}{space 1}    8.02{col 63}{space 3}0.000{col 71}{space 4} .0240459{col 84}{space 3} .0396106
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0138822{col 43}{space 2} .0023078{col 54}{space 1}   -6.02{col 63}{space 3}0.000{col 71}{space 4}-.0184063{col 84}{space 3}-.0093582
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0167574{col 43}{space 2} .0026987{col 54}{space 1}    6.21{col 63}{space 3}0.000{col 71}{space 4} .0114671{col 84}{space 3} .0220477
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0511989{col 43}{space 2} .0050158{col 54}{space 1}  -10.21{col 63}{space 3}0.000{col 71}{space 4}-.0610316{col 84}{space 3}-.0413662
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2}-.0659663{col 43}{space 2} .0127013{col 54}{space 1}   -5.19{col 63}{space 3}0.000{col 71}{space 4}-.0908654{col 84}{space 3}-.0410673
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.2583494{col 43}{space 2} .0167292{col 54}{space 1}  -15.44{col 63}{space 3}0.000{col 71}{space 4}-.2911446{col 84}{space 3}-.2255542
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .0242099{col 43}{space 2} .0044036{col 54}{space 1}    5.50{col 63}{space 3}0.000{col 71}{space 4} .0155772{col 84}{space 3} .0328426
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0004973{col 43}{space 2} .0015726{col 54}{space 1}    0.32{col 63}{space 3}0.752{col 71}{space 4}-.0025856{col 84}{space 3} .0035803
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0104058{col 43}{space 2} .0027164{col 54}{space 1}   -3.83{col 63}{space 3}0.000{col 71}{space 4}-.0157309{col 84}{space 3}-.0050808
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.1392986{col 43}{space 2}  .011204{col 54}{space 1}  -12.43{col 63}{space 3}0.000{col 71}{space 4}-.1612624{col 84}{space 3}-.1173348
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.1153865{col 43}{space 2}  .014699{col 54}{space 1}   -7.85{col 63}{space 3}0.000{col 71}{space 4}-.1442017{col 84}{space 3}-.0865713
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.4255305{col 43}{space 2} .0175847{col 54}{space 1}  -24.20{col 63}{space 3}0.000{col 71}{space 4}-.4600027{col 84}{space 3}-.3910582
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.0948154{col 43}{space 2} .0048036{col 54}{space 1}  -19.74{col 63}{space 3}0.000{col 71}{space 4}-.1042322{col 84}{space 3}-.0853986
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0329553{col 43}{space 2} .0049333{col 54}{space 1}   -6.68{col 63}{space 3}0.000{col 71}{space 4}-.0426264{col 84}{space 3}-.0232843
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2}-.0043151{col 43}{space 2} .0021818{col 54}{space 1}   -1.98{col 63}{space 3}0.048{col 71}{space 4}-.0085923{col 84}{space 3}-.0000379
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.1141279{col 43}{space 2} .0102288{col 54}{space 1}  -11.16{col 63}{space 3}0.000{col 71}{space 4}  -.13418{col 84}{space 3}-.0940758
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2}-.1165543{col 43}{space 2} .0175881{col 54}{space 1}   -6.63{col 63}{space 3}0.000{col 71}{space 4}-.1510333{col 84}{space 3}-.0820754
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2} -.395262{col 43}{space 2} .0161967{col 54}{space 1}  -24.40{col 63}{space 3}0.000{col 71}{space 4}-.4270134{col 84}{space 3}-.3635107
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2}-.0861029{col 43}{space 2}  .004283{col 54}{space 1}  -20.10{col 63}{space 3}0.000{col 71}{space 4}-.0944991{col 84}{space 3}-.0777067
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0288258{col 43}{space 2} .0046404{col 54}{space 1}   -6.21{col 63}{space 3}0.000{col 71}{space 4}-.0379227{col 84}{space 3}-.0197289
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0066937{col 43}{space 2} .0027651{col 54}{space 1}    2.42{col 63}{space 3}0.016{col 71}{space 4}  .001273{col 84}{space 3} .0121143
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0931726{col 43}{space 2} .0082662{col 54}{space 1}  -11.27{col 63}{space 3}0.000{col 71}{space 4}-.1093772{col 84}{space 3}-.0769679
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2} -.119276{col 43}{space 2} .0184384{col 54}{space 1}   -6.47{col 63}{space 3}0.000{col 71}{space 4}-.1554218{col 84}{space 3}-.0831303
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2} -.329555{col 43}{space 2} .0138735{col 54}{space 1}  -23.75{col 63}{space 3}0.000{col 71}{space 4}-.3567521{col 84}{space 3}-.3023579
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2}-.0515296{col 43}{space 2} .0040214{col 54}{space 1}  -12.81{col 63}{space 3}0.000{col 71}{space 4} -.059413{col 84}{space 3}-.0436463
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0196999{col 43}{space 2}  .003753{col 54}{space 1}   -5.25{col 63}{space 3}0.000{col 71}{space 4}-.0270572{col 84}{space 3}-.0123426
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0092596{col 43}{space 2} .0035571{col 54}{space 1}    2.60{col 63}{space 3}0.009{col 71}{space 4} .0022863{col 84}{space 3} .0162329
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0913722{col 43}{space 2} .0080215{col 54}{space 1}  -11.39{col 63}{space 3}0.000{col 71}{space 4}-.1070973{col 84}{space 3}-.0756471
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.1131201{col 43}{space 2} .0170163{col 54}{space 1}   -6.65{col 63}{space 3}0.000{col 71}{space 4} -.146478{col 84}{space 3}-.0797621
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.4254654{col 43}{space 2}  .019116{col 54}{space 1}  -22.26{col 63}{space 3}0.000{col 71}{space 4}-.4629397{col 84}{space 3}-.3879912
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2} -.094242{col 43}{space 2}  .006099{col 54}{space 1}  -15.45{col 63}{space 3}0.000{col 71}{space 4}-.1061981{col 84}{space 3}-.0822858
{txt}{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0080509{col 43}{space 2} .0018975{col 54}{space 1}   -4.24{col 63}{space 3}0.000{col 71}{space 4}-.0117707{col 84}{space 3}-.0043312
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0249573{col 43}{space 2} .0048558{col 54}{space 1}    5.14{col 63}{space 3}0.000{col 71}{space 4} .0154382{col 84}{space 3} .0344764
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#AU  {c |}{col 31}{res}{space 2}-.0820965{col 43}{space 2} .0113617{col 54}{space 1}   -7.23{col 63}{space 3}0.000{col 71}{space 4}-.1043695{col 84}{space 3}-.0598235
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.2739994{col 43}{space 2} .0140439{col 54}{space 1}  -19.51{col 63}{space 3}0.000{col 71}{space 4}-.3015305{col 84}{space 3}-.2464684
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2} .0118937{col 43}{space 2} .0029559{col 54}{space 1}    4.02{col 63}{space 3}0.000{col 71}{space 4}  .006099{col 84}{space 3} .0176884
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0071534{col 43}{space 2}  .001864{col 54}{space 1}    3.84{col 63}{space 3}0.000{col 71}{space 4} .0034993{col 84}{space 3} .0108075
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0145892{col 43}{space 2}  .003511{col 54}{space 1}    4.16{col 63}{space 3}0.000{col 71}{space 4} .0077063{col 84}{space 3} .0214721
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.0343811{col 43}{space 2} .0038822{col 54}{space 1}   -8.86{col 63}{space 3}0.000{col 71}{space 4}-.0419915{col 84}{space 3}-.0267706
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}-.0984338{col 43}{space 2} .0141195{col 54}{space 1}   -6.97{col 63}{space 3}0.000{col 71}{space 4} -.126113{col 84}{space 3}-.0707546
{txt}{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.2884534{col 43}{space 2} .0139948{col 54}{space 1}  -20.61{col 63}{space 3}0.000{col 71}{space 4}-.3158881{col 84}{space 3}-.2610187
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0059105{col 43}{space 2} .0018506{col 54}{space 1}    3.19{col 63}{space 3}0.001{col 71}{space 4} .0022827{col 84}{space 3} .0095384
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0108253{col 43}{space 2} .0031812{col 54}{space 1}    3.40{col 63}{space 3}0.001{col 71}{space 4} .0045891{col 84}{space 3} .0170616
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0878518{col 43}{space 2} .0079548{col 54}{space 1}  -11.04{col 63}{space 3}0.000{col 71}{space 4}-.1034461{col 84}{space 3}-.0722574
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.1179121{col 43}{space 2} .0193214{col 54}{space 1}   -6.10{col 63}{space 3}0.000{col 71}{space 4}-.1557889{col 84}{space 3}-.0800352
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.3830887{col 43}{space 2}  .015533{col 54}{space 1}  -24.66{col 63}{space 3}0.000{col 71}{space 4} -.413539{col 84}{space 3}-.3526385
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2}-.0796149{col 43}{space 2}  .003988{col 54}{space 1}  -19.96{col 63}{space 3}0.000{col 71}{space 4}-.0874328{col 84}{space 3} -.071797
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0750471{col 43}{space 2}  .009071{col 54}{space 1}    8.27{col 63}{space 3}0.000{col 71}{space 4} .0572647{col 84}{space 3} .0928295
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0655882{col 43}{space 2}  .008434{col 54}{space 1}    7.78{col 63}{space 3}0.000{col 71}{space 4} .0490546{col 84}{space 3} .0821219
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#NA  {c |}{col 31}{res}{space 2} .1243345{col 43}{space 2} .0061818{col 54}{space 1}   20.11{col 63}{space 3}0.000{col 71}{space 4} .1122159{col 84}{space 3}  .136453
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0736759{col 43}{space 2} .0104034{col 54}{space 1}    7.08{col 63}{space 3}0.000{col 71}{space 4} .0532816{col 84}{space 3} .0940702
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0474607{col 43}{space 2} .0064025{col 54}{space 1}    7.41{col 63}{space 3}0.000{col 71}{space 4} .0349095{col 84}{space 3} .0600118
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0177296{col 43}{space 2} .0053061{col 54}{space 1}    3.34{col 63}{space 3}0.001{col 71}{space 4} .0073277{col 84}{space 3} .0281315
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2}-.0383977{col 43}{space 2} .0118357{col 54}{space 1}   -3.24{col 63}{space 3}0.001{col 71}{space 4}-.0615998{col 84}{space 3}-.0151955
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2}-.1670335{col 43}{space 2} .0110518{col 54}{space 1}  -15.11{col 63}{space 3}0.000{col 71}{space 4}-.1886989{col 84}{space 3}-.1453681
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2} .0197774{col 43}{space 2} .0040192{col 54}{space 1}    4.92{col 63}{space 3}0.000{col 71}{space 4} .0118983{col 84}{space 3} .0276564
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0502596{col 43}{space 2} .0071559{col 54}{space 1}    7.02{col 63}{space 3}0.000{col 71}{space 4} .0362316{col 84}{space 3} .0642877
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .6231173{col 43}{space 2} .0031296{col 54}{space 1}  199.10{col 63}{space 3}0.000{col 71}{space 4} .6169821{col 84}{space 3} .6292524
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res}  .9095137
                      {txt}sigma_e {c |} {res} .13165876
                          {txt}rho {c |} {res} .97947541{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est4{txt} stored)

{com}. 
. esttab using "../output/tableD3_dam_hetero_pdsi.rtf", replace se r2(3) sca( "N_clust N subbasins" "N_g N cells") order(esmpdsi esmpdsi_ifdam esmpdsi_rescap esmpdsi_ifhydro esmpdsi_rescaphydro esmpdsi_pop) nomti obslast label noconstant onecell star( + .10 * .05 ** .01 ) drop(*dev_* *.year* _cons) /*
> */ title("Table D2. Effects of dams on impacts of drought using sc-PDSI") /*
> */ addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects.")
{res}{txt}(output written to {browse  `"../output/tableD3_dam_hetero_pdsi.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. **# Table 5. Upstream dams
. 
. eststo: xtreg ihslights esmdsi esmdsi_ifdam $weather i.year##i.continent if flare==0 & !no_upstream, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    95,652
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,971

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2193{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0902{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0053{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}71{txt}, {res}1983{txt}){col 67}={col 70}{res}    17.54
{txt}corr(u_i, Xb) = {res}-0.1670{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,984} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0201968{col 43}{space 2} .0028495{col 54}{space 1}   -7.09{col 63}{space 3}0.000{col 71}{space 4}-.0257851{col 84}{space 3}-.0146086
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0180719{col 43}{space 2}  .005555{col 54}{space 1}    3.25{col 63}{space 3}0.001{col 71}{space 4} .0071776{col 84}{space 3} .0289662
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0129376{col 43}{space 2} .0027332{col 54}{space 1}   -4.73{col 63}{space 3}0.000{col 71}{space 4}-.0182977{col 84}{space 3}-.0075774
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0134537{col 43}{space 2} .0027444{col 54}{space 1}   -4.90{col 63}{space 3}0.000{col 71}{space 4} -.018836{col 84}{space 3}-.0080715
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} .0000313{col 43}{space 2} .0013066{col 54}{space 1}    0.02{col 63}{space 3}0.981{col 71}{space 4}-.0025312{col 84}{space 3} .0025938
{txt}{space 29} {c |}
{space 25}year {c |}
{space 24}2001  {c |}{col 31}{res}{space 2} .0006548{col 43}{space 2} .0023846{col 54}{space 1}    0.27{col 63}{space 3}0.784{col 71}{space 4}-.0040218{col 84}{space 3} .0053314
{txt}{space 24}2002  {c |}{col 31}{res}{space 2}  .018432{col 43}{space 2} .0033726{col 54}{space 1}    5.47{col 63}{space 3}0.000{col 71}{space 4} .0118177{col 84}{space 3} .0250463
{txt}{space 24}2003  {c |}{col 31}{res}{space 2}-.0094713{col 43}{space 2}  .003836{col 54}{space 1}   -2.47{col 63}{space 3}0.014{col 71}{space 4}-.0169944{col 84}{space 3}-.0019483
{txt}{space 24}2004  {c |}{col 31}{res}{space 2}-.0043033{col 43}{space 2} .0037237{col 54}{space 1}   -1.16{col 63}{space 3}0.248{col 71}{space 4}-.0116061{col 84}{space 3} .0029994
{txt}{space 24}2005  {c |}{col 31}{res}{space 2} .0105623{col 43}{space 2} .0046299{col 54}{space 1}    2.28{col 63}{space 3}0.023{col 71}{space 4} .0014823{col 84}{space 3} .0196424
{txt}{space 24}2006  {c |}{col 31}{res}{space 2} .0090204{col 43}{space 2} .0061856{col 54}{space 1}    1.46{col 63}{space 3}0.145{col 71}{space 4}-.0031106{col 84}{space 3} .0211514
{txt}{space 24}2007  {c |}{col 31}{res}{space 2} .0245839{col 43}{space 2} .0069964{col 54}{space 1}    3.51{col 63}{space 3}0.000{col 71}{space 4} .0108628{col 84}{space 3}  .038305
{txt}{space 24}2008  {c |}{col 31}{res}{space 2} .0170877{col 43}{space 2} .0062273{col 54}{space 1}    2.74{col 63}{space 3}0.006{col 71}{space 4} .0048748{col 84}{space 3} .0293005
{txt}{space 24}2009  {c |}{col 31}{res}{space 2} .0119282{col 43}{space 2} .0070848{col 54}{space 1}    1.68{col 63}{space 3}0.092{col 71}{space 4}-.0019661{col 84}{space 3} .0258226
{txt}{space 24}2010  {c |}{col 31}{res}{space 2} .0736356{col 43}{space 2} .0096483{col 54}{space 1}    7.63{col 63}{space 3}0.000{col 71}{space 4} .0547138{col 84}{space 3} .0925575
{txt}{space 24}2011  {c |}{col 31}{res}{space 2} .0470881{col 43}{space 2} .0081596{col 54}{space 1}    5.77{col 63}{space 3}0.000{col 71}{space 4} .0310857{col 84}{space 3} .0630905
{txt}{space 29} {c |}
{space 20}continent {c |}
{space 26}AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0145519{col 43}{space 2}  .004314{col 54}{space 1}   -3.37{col 63}{space 3}0.001{col 71}{space 4}-.0230123{col 84}{space 3}-.0060915
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}  .001471{col 43}{space 2} .0068353{col 54}{space 1}    0.22{col 63}{space 3}0.830{col 71}{space 4}-.0119342{col 84}{space 3} .0148761
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0102464{col 43}{space 2} .0104046{col 54}{space 1}    0.98{col 63}{space 3}0.325{col 71}{space 4}-.0101587{col 84}{space 3} .0306515
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2}-.0243677{col 43}{space 2} .0086048{col 54}{space 1}   -2.83{col 63}{space 3}0.005{col 71}{space 4} -.041243{col 84}{space 3}-.0074923
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0091297{col 43}{space 2} .0034435{col 54}{space 1}   -2.65{col 63}{space 3}0.008{col 71}{space 4}-.0158829{col 84}{space 3}-.0023764
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0043017{col 43}{space 2}   .00566{col 54}{space 1}   -0.76{col 63}{space 3}0.447{col 71}{space 4}-.0154019{col 84}{space 3} .0067986
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0170241{col 43}{space 2} .0092719{col 54}{space 1}    1.84{col 63}{space 3}0.066{col 71}{space 4}-.0011596{col 84}{space 3} .0352077
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.0184542{col 43}{space 2} .0104219{col 54}{space 1}   -1.77{col 63}{space 3}0.077{col 71}{space 4}-.0388933{col 84}{space 3} .0019849
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2}-.0632489{col 43}{space 2} .0090033{col 54}{space 1}   -7.03{col 63}{space 3}0.000{col 71}{space 4}-.0809059{col 84}{space 3}-.0455919
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2}-.0082111{col 43}{space 2} .0039601{col 54}{space 1}   -2.07{col 63}{space 3}0.038{col 71}{space 4}-.0159776{col 84}{space 3}-.0004447
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.0682017{col 43}{space 2} .0093755{col 54}{space 1}   -7.27{col 63}{space 3}0.000{col 71}{space 4}-.0865886{col 84}{space 3}-.0498148
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2} .0123791{col 43}{space 2}  .009113{col 54}{space 1}    1.36{col 63}{space 3}0.174{col 71}{space 4}-.0054929{col 84}{space 3} .0302511
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2} -.162424{col 43}{space 2} .0150338{col 54}{space 1}  -10.80{col 63}{space 3}0.000{col 71}{space 4}-.1919076{col 84}{space 3}-.1329404
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.1733527{col 43}{space 2} .0137225{col 54}{space 1}  -12.63{col 63}{space 3}0.000{col 71}{space 4}-.2002647{col 84}{space 3}-.1464408
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0210126{col 43}{space 2} .0068661{col 54}{space 1}   -3.06{col 63}{space 3}0.002{col 71}{space 4}-.0344782{col 84}{space 3} -.007547
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2} -.043589{col 43}{space 2} .0087055{col 54}{space 1}   -5.01{col 63}{space 3}0.000{col 71}{space 4}-.0606619{col 84}{space 3} -.026516
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0226926{col 43}{space 2} .0121216{col 54}{space 1}    1.87{col 63}{space 3}0.061{col 71}{space 4}-.0010798{col 84}{space 3}  .046465
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.1327053{col 43}{space 2}  .014822{col 54}{space 1}   -8.95{col 63}{space 3}0.000{col 71}{space 4}-.1617735{col 84}{space 3} -.103637
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2}-.1584911{col 43}{space 2} .0134275{col 54}{space 1}  -11.80{col 63}{space 3}0.000{col 71}{space 4}-.1848247{col 84}{space 3}-.1321575
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0241665{col 43}{space 2} .0063431{col 54}{space 1}   -3.81{col 63}{space 3}0.000{col 71}{space 4}-.0366063{col 84}{space 3}-.0117267
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0295427{col 43}{space 2} .0096524{col 54}{space 1}   -3.06{col 63}{space 3}0.002{col 71}{space 4}-.0484726{col 84}{space 3}-.0106128
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0067133{col 43}{space 2} .0110114{col 54}{space 1}   -0.61{col 63}{space 3}0.542{col 71}{space 4}-.0283083{col 84}{space 3} .0148818
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0909132{col 43}{space 2} .0188763{col 54}{space 1}   -4.82{col 63}{space 3}0.000{col 71}{space 4}-.1279327{col 84}{space 3}-.0538937
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2}-.1340873{col 43}{space 2} .0136875{col 54}{space 1}   -9.80{col 63}{space 3}0.000{col 71}{space 4}-.1609307{col 84}{space 3}-.1072439
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0275057{col 43}{space 2} .0064497{col 54}{space 1}   -4.26{col 63}{space 3}0.000{col 71}{space 4}-.0401547{col 84}{space 3}-.0148568
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0338151{col 43}{space 2} .0129208{col 54}{space 1}   -2.62{col 63}{space 3}0.009{col 71}{space 4}-.0591548{col 84}{space 3}-.0084753
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0112244{col 43}{space 2} .0099481{col 54}{space 1}   -1.13{col 63}{space 3}0.259{col 71}{space 4}-.0307341{col 84}{space 3} .0082853
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.1913913{col 43}{space 2} .0256967{col 54}{space 1}   -7.45{col 63}{space 3}0.000{col 71}{space 4}-.2417866{col 84}{space 3} -.140996
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}-.1921472{col 43}{space 2} .0163461{col 54}{space 1}  -11.75{col 63}{space 3}0.000{col 71}{space 4}-.2242046{col 84}{space 3}-.1600898
{txt}{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0110804{col 43}{space 2} .0074454{col 54}{space 1}   -1.49{col 63}{space 3}0.137{col 71}{space 4} -.025682{col 84}{space 3} .0035212
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2} .0491916{col 43}{space 2} .0115119{col 54}{space 1}    4.27{col 63}{space 3}0.000{col 71}{space 4} .0266149{col 84}{space 3} .0717683
{txt}{space 21}2007#AU  {c |}{col 31}{res}{space 2} -.011459{col 43}{space 2} .0112804{col 54}{space 1}   -1.02{col 63}{space 3}0.310{col 71}{space 4}-.0335817{col 84}{space 3} .0106636
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.0858592{col 43}{space 2} .0157953{col 54}{space 1}   -5.44{col 63}{space 3}0.000{col 71}{space 4}-.1168364{col 84}{space 3} -.054882
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2}-.0733234{col 43}{space 2} .0104663{col 54}{space 1}   -7.01{col 63}{space 3}0.000{col 71}{space 4}-.0938494{col 84}{space 3}-.0527973
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2}-.0106314{col 43}{space 2} .0079098{col 54}{space 1}   -1.34{col 63}{space 3}0.179{col 71}{space 4}-.0261439{col 84}{space 3}  .004881
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}  .026006{col 43}{space 2} .0106177{col 54}{space 1}    2.45{col 63}{space 3}0.014{col 71}{space 4}  .005183{col 84}{space 3}  .046829
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}-.0043726{col 43}{space 2} .0133839{col 54}{space 1}   -0.33{col 63}{space 3}0.744{col 71}{space 4}-.0306206{col 84}{space 3} .0218754
{txt}{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0933708{col 43}{space 2} .0188413{col 54}{space 1}   -4.96{col 63}{space 3}0.000{col 71}{space 4}-.1303216{col 84}{space 3}  -.05642
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2}-.0738907{col 43}{space 2} .0113193{col 54}{space 1}   -6.53{col 63}{space 3}0.000{col 71}{space 4}-.0960897{col 84}{space 3}-.0516918
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0006126{col 43}{space 2} .0074175{col 54}{space 1}    0.08{col 63}{space 3}0.934{col 71}{space 4}-.0139343{col 84}{space 3} .0151595
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0189236{col 43}{space 2}  .011674{col 54}{space 1}   -1.62{col 63}{space 3}0.105{col 71}{space 4}-.0418182{col 84}{space 3} .0039709
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0218584{col 43}{space 2} .0142524{col 54}{space 1}   -1.53{col 63}{space 3}0.125{col 71}{space 4}-.0498097{col 84}{space 3} .0060929
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.1508841{col 43}{space 2} .0206345{col 54}{space 1}   -7.31{col 63}{space 3}0.000{col 71}{space 4}-.1913517{col 84}{space 3}-.1104164
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2}-.1578065{col 43}{space 2} .0133991{col 54}{space 1}  -11.78{col 63}{space 3}0.000{col 71}{space 4}-.1840843{col 84}{space 3}-.1315286
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}-.0028889{col 43}{space 2} .0082192{col 54}{space 1}   -0.35{col 63}{space 3}0.725{col 71}{space 4}-.0190081{col 84}{space 3} .0132302
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0889966{col 43}{space 2} .0154187{col 54}{space 1}    5.77{col 63}{space 3}0.000{col 71}{space 4}  .058758{col 84}{space 3} .1192352
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0147402{col 43}{space 2} .0252795{col 54}{space 1}    0.58{col 63}{space 3}0.560{col 71}{space 4} -.034837{col 84}{space 3} .0643175
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2} .1656651{col 43}{space 2} .0298017{col 54}{space 1}    5.56{col 63}{space 3}0.000{col 71}{space 4} .1072192{col 84}{space 3}  .224111
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2} .0068208{col 43}{space 2}  .013185{col 54}{space 1}    0.52{col 63}{space 3}0.605{col 71}{space 4}-.0190371{col 84}{space 3} .0326786
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0280488{col 43}{space 2} .0164789{col 54}{space 1}    1.70{col 63}{space 3}0.089{col 71}{space 4}-.0042689{col 84}{space 3} .0603665
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0696718{col 43}{space 2} .0136306{col 54}{space 1}    5.11{col 63}{space 3}0.000{col 71}{space 4}   .04294{col 84}{space 3} .0964036
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0382237{col 43}{space 2} .0259231{col 54}{space 1}    1.47{col 63}{space 3}0.141{col 71}{space 4}-.0126157{col 84}{space 3} .0890632
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} .0504746{col 43}{space 2} .0235348{col 54}{space 1}    2.14{col 63}{space 3}0.032{col 71}{space 4} .0043191{col 84}{space 3} .0966302
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2}-.0976677{col 43}{space 2} .0127436{col 54}{space 1}   -7.66{col 63}{space 3}0.000{col 71}{space 4}  -.12266{col 84}{space 3}-.0726754
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0219665{col 43}{space 2}  .012921{col 54}{space 1}    1.70{col 63}{space 3}0.089{col 71}{space 4}-.0033736{col 84}{space 3} .0473067
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5556817{col 43}{space 2} .0034086{col 54}{space 1}  163.02{col 63}{space 3}0.000{col 71}{space 4} .5489969{col 84}{space 3} .5623665
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .85635876
                      {txt}sigma_e {c |} {res} .13891432
                          {txt}rho {c |} {res} .97436092{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. eststo: xtreg ihslights esmdsi esmdsi_ifdam esmdsi_up1_ifdam $weather i.year##i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    95,652
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,971

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2194{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0884{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0050{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}72{txt}, {res}1983{txt}){col 67}={col 70}{res}    17.22
{txt}corr(u_i, Xb) = {res}-0.1650{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,984} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0210964{col 43}{space 2} .0029114{col 54}{space 1}   -7.25{col 63}{space 3}0.000{col 71}{space 4}-.0268062{col 84}{space 3}-.0153867
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2}  .015135{col 43}{space 2} .0063827{col 54}{space 1}    2.37{col 63}{space 3}0.018{col 71}{space 4} .0026176{col 84}{space 3} .0276524
{txt}{space 13}esmdsi_up1_ifdam {c |}{col 31}{res}{space 2} .0081429{col 43}{space 2} .0071636{col 54}{space 1}    1.14{col 63}{space 3}0.256{col 71}{space 4}-.0059061{col 84}{space 3} .0221919
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2} -.012918{col 43}{space 2} .0027313{col 54}{space 1}   -4.73{col 63}{space 3}0.000{col 71}{space 4}-.0182745{col 84}{space 3}-.0075615
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0134704{col 43}{space 2} .0027429{col 54}{space 1}   -4.91{col 63}{space 3}0.000{col 71}{space 4}-.0188496{col 84}{space 3}-.0080911
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} .0000246{col 43}{space 2} .0013068{col 54}{space 1}    0.02{col 63}{space 3}0.985{col 71}{space 4}-.0025382{col 84}{space 3} .0025873
{txt}{space 29} {c |}
{space 25}year {c |}
{space 24}2001  {c |}{col 31}{res}{space 2} .0005448{col 43}{space 2} .0023958{col 54}{space 1}    0.23{col 63}{space 3}0.820{col 71}{space 4}-.0041538{col 84}{space 3} .0052435
{txt}{space 24}2002  {c |}{col 31}{res}{space 2} .0184545{col 43}{space 2} .0033923{col 54}{space 1}    5.44{col 63}{space 3}0.000{col 71}{space 4} .0118016{col 84}{space 3} .0251074
{txt}{space 24}2003  {c |}{col 31}{res}{space 2}-.0096434{col 43}{space 2} .0038677{col 54}{space 1}   -2.49{col 63}{space 3}0.013{col 71}{space 4}-.0172285{col 84}{space 3}-.0020584
{txt}{space 24}2004  {c |}{col 31}{res}{space 2} -.004374{col 43}{space 2} .0037241{col 54}{space 1}   -1.17{col 63}{space 3}0.240{col 71}{space 4}-.0116776{col 84}{space 3} .0029295
{txt}{space 24}2005  {c |}{col 31}{res}{space 2} .0105337{col 43}{space 2} .0046325{col 54}{space 1}    2.27{col 63}{space 3}0.023{col 71}{space 4} .0014486{col 84}{space 3} .0196188
{txt}{space 24}2006  {c |}{col 31}{res}{space 2} .0089121{col 43}{space 2} .0061928{col 54}{space 1}    1.44{col 63}{space 3}0.150{col 71}{space 4}-.0032329{col 84}{space 3} .0210571
{txt}{space 24}2007  {c |}{col 31}{res}{space 2} .0243411{col 43}{space 2} .0070188{col 54}{space 1}    3.47{col 63}{space 3}0.001{col 71}{space 4}  .010576{col 84}{space 3} .0381061
{txt}{space 24}2008  {c |}{col 31}{res}{space 2} .0169784{col 43}{space 2} .0062338{col 54}{space 1}    2.72{col 63}{space 3}0.007{col 71}{space 4} .0047529{col 84}{space 3} .0292039
{txt}{space 24}2009  {c |}{col 31}{res}{space 2} .0118491{col 43}{space 2} .0070852{col 54}{space 1}    1.67{col 63}{space 3}0.095{col 71}{space 4} -.002046{col 84}{space 3} .0257443
{txt}{space 24}2010  {c |}{col 31}{res}{space 2} .0736199{col 43}{space 2} .0096627{col 54}{space 1}    7.62{col 63}{space 3}0.000{col 71}{space 4} .0546698{col 84}{space 3}   .09257
{txt}{space 24}2011  {c |}{col 31}{res}{space 2} .0470196{col 43}{space 2} .0081703{col 54}{space 1}    5.75{col 63}{space 3}0.000{col 71}{space 4} .0309964{col 84}{space 3} .0630428
{txt}{space 29} {c |}
{space 20}continent {c |}
{space 26}AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0145167{col 43}{space 2} .0043302{col 54}{space 1}   -3.35{col 63}{space 3}0.001{col 71}{space 4}-.0230089{col 84}{space 3}-.0060246
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2} .0018365{col 43}{space 2} .0068184{col 54}{space 1}    0.27{col 63}{space 3}0.788{col 71}{space 4}-.0115356{col 84}{space 3} .0152085
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0105508{col 43}{space 2} .0104515{col 54}{space 1}    1.01{col 63}{space 3}0.313{col 71}{space 4}-.0099464{col 84}{space 3} .0310479
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2}-.0240154{col 43}{space 2} .0086015{col 54}{space 1}   -2.79{col 63}{space 3}0.005{col 71}{space 4}-.0408843{col 84}{space 3}-.0071464
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0091059{col 43}{space 2} .0034645{col 54}{space 1}   -2.63{col 63}{space 3}0.009{col 71}{space 4}-.0159004{col 84}{space 3}-.0023113
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0044091{col 43}{space 2} .0056663{col 54}{space 1}   -0.78{col 63}{space 3}0.437{col 71}{space 4}-.0155215{col 84}{space 3} .0067034
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0176859{col 43}{space 2} .0092442{col 54}{space 1}    1.91{col 63}{space 3}0.056{col 71}{space 4}-.0004435{col 84}{space 3} .0358152
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.0180198{col 43}{space 2} .0104153{col 54}{space 1}   -1.73{col 63}{space 3}0.084{col 71}{space 4}-.0384458{col 84}{space 3} .0024062
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2}-.0629579{col 43}{space 2} .0089942{col 54}{space 1}   -7.00{col 63}{space 3}0.000{col 71}{space 4} -.080597{col 84}{space 3}-.0453189
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2}-.0082535{col 43}{space 2} .0039831{col 54}{space 1}   -2.07{col 63}{space 3}0.038{col 71}{space 4} -.016065{col 84}{space 3}-.0004419
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.0679566{col 43}{space 2} .0093805{col 54}{space 1}   -7.24{col 63}{space 3}0.000{col 71}{space 4}-.0863532{col 84}{space 3}-.0495601
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2} .0127069{col 43}{space 2} .0091019{col 54}{space 1}    1.40{col 63}{space 3}0.163{col 71}{space 4}-.0051434{col 84}{space 3} .0305571
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.1624951{col 43}{space 2} .0150623{col 54}{space 1}  -10.79{col 63}{space 3}0.000{col 71}{space 4}-.1920347{col 84}{space 3}-.1329555
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.1728666{col 43}{space 2} .0137413{col 54}{space 1}  -12.58{col 63}{space 3}0.000{col 71}{space 4}-.1998155{col 84}{space 3}-.1459176
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2} -.020777{col 43}{space 2} .0068884{col 54}{space 1}   -3.02{col 63}{space 3}0.003{col 71}{space 4}-.0342864{col 84}{space 3}-.0072677
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.0435567{col 43}{space 2}  .008704{col 54}{space 1}   -5.00{col 63}{space 3}0.000{col 71}{space 4}-.0606267{col 84}{space 3}-.0264867
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0231658{col 43}{space 2} .0121141{col 54}{space 1}    1.91{col 63}{space 3}0.056{col 71}{space 4}-.0005919{col 84}{space 3} .0469234
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.1324953{col 43}{space 2} .0148521{col 54}{space 1}   -8.92{col 63}{space 3}0.000{col 71}{space 4}-.1616226{col 84}{space 3} -.103368
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2}-.1580086{col 43}{space 2} .0134241{col 54}{space 1}  -11.77{col 63}{space 3}0.000{col 71}{space 4}-.1843353{col 84}{space 3}-.1316818
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0241653{col 43}{space 2} .0063446{col 54}{space 1}   -3.81{col 63}{space 3}0.000{col 71}{space 4}-.0366081{col 84}{space 3}-.0117224
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0294836{col 43}{space 2} .0096553{col 54}{space 1}   -3.05{col 63}{space 3}0.002{col 71}{space 4}-.0484191{col 84}{space 3} -.010548
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0064896{col 43}{space 2} .0110237{col 54}{space 1}   -0.59{col 63}{space 3}0.556{col 71}{space 4}-.0281088{col 84}{space 3} .0151296
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0907828{col 43}{space 2} .0188907{col 54}{space 1}   -4.81{col 63}{space 3}0.000{col 71}{space 4}-.1278306{col 84}{space 3} -.053735
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2}-.1337373{col 43}{space 2} .0136846{col 54}{space 1}   -9.77{col 63}{space 3}0.000{col 71}{space 4}-.1605749{col 84}{space 3}-.1068997
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0275605{col 43}{space 2} .0063993{col 54}{space 1}   -4.31{col 63}{space 3}0.000{col 71}{space 4}-.0401105{col 84}{space 3}-.0150104
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0336746{col 43}{space 2} .0129048{col 54}{space 1}   -2.61{col 63}{space 3}0.009{col 71}{space 4} -.058983{col 84}{space 3}-.0083662
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0109399{col 43}{space 2} .0099791{col 54}{space 1}   -1.10{col 63}{space 3}0.273{col 71}{space 4}-.0305104{col 84}{space 3} .0086307
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}  -.19112{col 43}{space 2} .0257265{col 54}{space 1}   -7.43{col 63}{space 3}0.000{col 71}{space 4}-.2415738{col 84}{space 3}-.1406663
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}-.1918821{col 43}{space 2} .0163542{col 54}{space 1}  -11.73{col 63}{space 3}0.000{col 71}{space 4}-.2239554{col 84}{space 3}-.1598088
{txt}{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0110572{col 43}{space 2} .0074417{col 54}{space 1}   -1.49{col 63}{space 3}0.137{col 71}{space 4}-.0256515{col 84}{space 3} .0035372
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2} .0494198{col 43}{space 2}   .01152{col 54}{space 1}    4.29{col 63}{space 3}0.000{col 71}{space 4} .0268272{col 84}{space 3} .0720124
{txt}{space 21}2007#AU  {c |}{col 31}{res}{space 2}  -.01104{col 43}{space 2} .0113112{col 54}{space 1}   -0.98{col 63}{space 3}0.329{col 71}{space 4} -.033223{col 84}{space 3}  .011143
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.0853391{col 43}{space 2} .0158384{col 54}{space 1}   -5.39{col 63}{space 3}0.000{col 71}{space 4}-.1164007{col 84}{space 3}-.0542775
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2}-.0729697{col 43}{space 2} .0104731{col 54}{space 1}   -6.97{col 63}{space 3}0.000{col 71}{space 4}-.0935092{col 84}{space 3}-.0524303
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2}-.0102663{col 43}{space 2} .0079257{col 54}{space 1}   -1.30{col 63}{space 3}0.195{col 71}{space 4}  -.02581{col 84}{space 3} .0052773
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2} .0261829{col 43}{space 2} .0106197{col 54}{space 1}    2.47{col 63}{space 3}0.014{col 71}{space 4} .0053559{col 84}{space 3} .0470099
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}-.0041036{col 43}{space 2} .0134067{col 54}{space 1}   -0.31{col 63}{space 3}0.760{col 71}{space 4}-.0303964{col 84}{space 3} .0221891
{txt}{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0929039{col 43}{space 2} .0188886{col 54}{space 1}   -4.92{col 63}{space 3}0.000{col 71}{space 4}-.1299475{col 84}{space 3}-.0558604
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2}-.0735224{col 43}{space 2} .0112996{col 54}{space 1}   -6.51{col 63}{space 3}0.000{col 71}{space 4}-.0956828{col 84}{space 3}-.0513621
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0005202{col 43}{space 2} .0074202{col 54}{space 1}    0.07{col 63}{space 3}0.944{col 71}{space 4} -.014032{col 84}{space 3} .0150724
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0187236{col 43}{space 2} .0116943{col 54}{space 1}   -1.60{col 63}{space 3}0.110{col 71}{space 4} -.041658{col 84}{space 3} .0042108
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0216038{col 43}{space 2} .0142491{col 54}{space 1}   -1.52{col 63}{space 3}0.130{col 71}{space 4}-.0495485{col 84}{space 3} .0063409
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.1503536{col 43}{space 2} .0206954{col 54}{space 1}   -7.27{col 63}{space 3}0.000{col 71}{space 4}-.1909406{col 84}{space 3}-.1097666
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2}-.1573825{col 43}{space 2} .0133862{col 54}{space 1}  -11.76{col 63}{space 3}0.000{col 71}{space 4} -.183635{col 84}{space 3}  -.13113
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}-.0032814{col 43}{space 2} .0082432{col 54}{space 1}   -0.40{col 63}{space 3}0.691{col 71}{space 4}-.0194476{col 84}{space 3} .0128848
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0891876{col 43}{space 2} .0154318{col 54}{space 1}    5.78{col 63}{space 3}0.000{col 71}{space 4} .0589233{col 84}{space 3} .1194518
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0149293{col 43}{space 2} .0253014{col 54}{space 1}    0.59{col 63}{space 3}0.555{col 71}{space 4}-.0346907{col 84}{space 3} .0645494
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2} .1662283{col 43}{space 2} .0298027{col 54}{space 1}    5.58{col 63}{space 3}0.000{col 71}{space 4} .1077805{col 84}{space 3} .2246762
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2}  .007255{col 43}{space 2} .0132048{col 54}{space 1}    0.55{col 63}{space 3}0.583{col 71}{space 4}-.0186417{col 84}{space 3} .0331517
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0279631{col 43}{space 2}  .016541{col 54}{space 1}    1.69{col 63}{space 3}0.091{col 71}{space 4}-.0044766{col 84}{space 3} .0604027
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0700328{col 43}{space 2} .0136341{col 54}{space 1}    5.14{col 63}{space 3}0.000{col 71}{space 4} .0432941{col 84}{space 3} .0967714
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0384488{col 43}{space 2} .0259262{col 54}{space 1}    1.48{col 63}{space 3}0.138{col 71}{space 4}-.0123967{col 84}{space 3} .0892943
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} .0506807{col 43}{space 2}  .023556{col 54}{space 1}    2.15{col 63}{space 3}0.032{col 71}{space 4} .0044835{col 84}{space 3} .0968779
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2}-.0973318{col 43}{space 2} .0127548{col 54}{space 1}   -7.63{col 63}{space 3}0.000{col 71}{space 4} -.122346{col 84}{space 3}-.0723175
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0220389{col 43}{space 2} .0129144{col 54}{space 1}    1.71{col 63}{space 3}0.088{col 71}{space 4}-.0032884{col 84}{space 3} .0473662
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5556096{col 43}{space 2} .0034099{col 54}{space 1}  162.94{col 63}{space 3}0.000{col 71}{space 4} .5489222{col 84}{space 3} .5622969
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .85618782
                      {txt}sigma_e {c |} {res} .13891028
                          {txt}rho {c |} {res}  .9743524{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. eststo: xtreg ihslights esmdsi esmdsi_ifdam esmdsi_up1_ifdam esmdsi_farupdam $weather i.year##i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    95,652
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,971

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2195{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0867{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0048{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}73{txt}, {res}1983{txt}){col 67}={col 70}{res}    17.08
{txt}corr(u_i, Xb) = {res}-0.1633{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,984} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0260876{col 43}{space 2} .0037296{col 54}{space 1}   -6.99{col 63}{space 3}0.000{col 71}{space 4} -.033402{col 84}{space 3}-.0187732
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0130519{col 43}{space 2} .0062624{col 54}{space 1}    2.08{col 63}{space 3}0.037{col 71}{space 4} .0007703{col 84}{space 3} .0253336
{txt}{space 13}esmdsi_up1_ifdam {c |}{col 31}{res}{space 2} .0044426{col 43}{space 2} .0074212{col 54}{space 1}    0.60{col 63}{space 3}0.549{col 71}{space 4}-.0101116{col 84}{space 3} .0189968
{txt}{space 14}esmdsi_farupdam {c |}{col 31}{res}{space 2} .0112775{col 43}{space 2} .0051839{col 54}{space 1}    2.18{col 63}{space 3}0.030{col 71}{space 4}  .001111{col 84}{space 3}  .021444
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0129487{col 43}{space 2} .0027272{col 54}{space 1}   -4.75{col 63}{space 3}0.000{col 71}{space 4}-.0182972{col 84}{space 3}-.0076001
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0134448{col 43}{space 2} .0027414{col 54}{space 1}   -4.90{col 63}{space 3}0.000{col 71}{space 4}-.0188212{col 84}{space 3}-.0080685
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} .0000636{col 43}{space 2}   .00131{col 54}{space 1}    0.05{col 63}{space 3}0.961{col 71}{space 4}-.0025055{col 84}{space 3} .0026327
{txt}{space 29} {c |}
{space 25}year {c |}
{space 24}2001  {c |}{col 31}{res}{space 2} .0004869{col 43}{space 2} .0024189{col 54}{space 1}    0.20{col 63}{space 3}0.840{col 71}{space 4} -.004257{col 84}{space 3} .0052309
{txt}{space 24}2002  {c |}{col 31}{res}{space 2}  .018239{col 43}{space 2} .0034156{col 54}{space 1}    5.34{col 63}{space 3}0.000{col 71}{space 4} .0115405{col 84}{space 3} .0249375
{txt}{space 24}2003  {c |}{col 31}{res}{space 2}-.0100119{col 43}{space 2} .0038788{col 54}{space 1}   -2.58{col 63}{space 3}0.010{col 71}{space 4} -.017619{col 84}{space 3}-.0024049
{txt}{space 24}2004  {c |}{col 31}{res}{space 2}-.0046246{col 43}{space 2} .0037261{col 54}{space 1}   -1.24{col 63}{space 3}0.215{col 71}{space 4}-.0119321{col 84}{space 3}  .002683
{txt}{space 24}2005  {c |}{col 31}{res}{space 2} .0105319{col 43}{space 2}  .004633{col 54}{space 1}    2.27{col 63}{space 3}0.023{col 71}{space 4} .0014458{col 84}{space 3} .0196179
{txt}{space 24}2006  {c |}{col 31}{res}{space 2} .0088425{col 43}{space 2} .0061896{col 54}{space 1}    1.43{col 63}{space 3}0.153{col 71}{space 4}-.0032963{col 84}{space 3} .0209814
{txt}{space 24}2007  {c |}{col 31}{res}{space 2} .0241657{col 43}{space 2} .0070205{col 54}{space 1}    3.44{col 63}{space 3}0.001{col 71}{space 4} .0103974{col 84}{space 3}  .037934
{txt}{space 24}2008  {c |}{col 31}{res}{space 2} .0170104{col 43}{space 2} .0062364{col 54}{space 1}    2.73{col 63}{space 3}0.006{col 71}{space 4} .0047798{col 84}{space 3}  .029241
{txt}{space 24}2009  {c |}{col 31}{res}{space 2} .0119802{col 43}{space 2} .0070679{col 54}{space 1}    1.70{col 63}{space 3}0.090{col 71}{space 4}-.0018811{col 84}{space 3} .0258414
{txt}{space 24}2010  {c |}{col 31}{res}{space 2} .0737684{col 43}{space 2} .0096436{col 54}{space 1}    7.65{col 63}{space 3}0.000{col 71}{space 4} .0548558{col 84}{space 3}  .092681
{txt}{space 24}2011  {c |}{col 31}{res}{space 2} .0469611{col 43}{space 2} .0081705{col 54}{space 1}    5.75{col 63}{space 3}0.000{col 71}{space 4} .0309374{col 84}{space 3} .0629847
{txt}{space 29} {c |}
{space 20}continent {c |}
{space 26}AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0143636{col 43}{space 2} .0043452{col 54}{space 1}   -3.31{col 63}{space 3}0.001{col 71}{space 4}-.0228853{col 84}{space 3}-.0058419
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2} .0017473{col 43}{space 2} .0068275{col 54}{space 1}    0.26{col 63}{space 3}0.798{col 71}{space 4}-.0116426{col 84}{space 3} .0151372
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0109705{col 43}{space 2}  .010457{col 54}{space 1}    1.05{col 63}{space 3}0.294{col 71}{space 4}-.0095374{col 84}{space 3} .0314784
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2}-.0239225{col 43}{space 2} .0086042{col 54}{space 1}   -2.78{col 63}{space 3}0.005{col 71}{space 4}-.0407968{col 84}{space 3}-.0070482
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0092436{col 43}{space 2} .0034857{col 54}{space 1}   -2.65{col 63}{space 3}0.008{col 71}{space 4}-.0160798{col 84}{space 3}-.0024075
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0041431{col 43}{space 2} .0056697{col 54}{space 1}   -0.73{col 63}{space 3}0.465{col 71}{space 4}-.0152624{col 84}{space 3} .0069762
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0196246{col 43}{space 2} .0092467{col 54}{space 1}    2.12{col 63}{space 3}0.034{col 71}{space 4} .0014903{col 84}{space 3} .0377588
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.0166002{col 43}{space 2} .0104298{col 54}{space 1}   -1.59{col 63}{space 3}0.112{col 71}{space 4}-.0370546{col 84}{space 3} .0038543
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2}-.0628346{col 43}{space 2} .0089871{col 54}{space 1}   -6.99{col 63}{space 3}0.000{col 71}{space 4}-.0804598{col 84}{space 3}-.0452095
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2}-.0080541{col 43}{space 2} .0040016{col 54}{space 1}   -2.01{col 63}{space 3}0.044{col 71}{space 4}-.0159018{col 84}{space 3}-.0002064
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.0672209{col 43}{space 2} .0093449{col 54}{space 1}   -7.19{col 63}{space 3}0.000{col 71}{space 4}-.0855477{col 84}{space 3}-.0488941
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2} .0123576{col 43}{space 2} .0091845{col 54}{space 1}    1.35{col 63}{space 3}0.179{col 71}{space 4}-.0056547{col 84}{space 3} .0303698
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.1621841{col 43}{space 2}  .015061{col 54}{space 1}  -10.77{col 63}{space 3}0.000{col 71}{space 4}-.1917211{col 84}{space 3} -.132647
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.1723853{col 43}{space 2} .0137261{col 54}{space 1}  -12.56{col 63}{space 3}0.000{col 71}{space 4}-.1993043{col 84}{space 3}-.1454662
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0206011{col 43}{space 2} .0068901{col 54}{space 1}   -2.99{col 63}{space 3}0.003{col 71}{space 4}-.0341137{col 84}{space 3}-.0070885
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.0432772{col 43}{space 2} .0086858{col 54}{space 1}   -4.98{col 63}{space 3}0.000{col 71}{space 4}-.0603114{col 84}{space 3} -.026243
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0240579{col 43}{space 2} .0122504{col 54}{space 1}    1.96{col 63}{space 3}0.050{col 71}{space 4} .0000329{col 84}{space 3}  .048083
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.1321286{col 43}{space 2} .0148211{col 54}{space 1}   -8.91{col 63}{space 3}0.000{col 71}{space 4}-.1611951{col 84}{space 3} -.103062
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2}-.1574394{col 43}{space 2} .0134006{col 54}{space 1}  -11.75{col 63}{space 3}0.000{col 71}{space 4}-.1837202{col 84}{space 3}-.1311587
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0240427{col 43}{space 2} .0063492{col 54}{space 1}   -3.79{col 63}{space 3}0.000{col 71}{space 4}-.0364945{col 84}{space 3}-.0115909
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0292706{col 43}{space 2} .0096585{col 54}{space 1}   -3.03{col 63}{space 3}0.002{col 71}{space 4}-.0482125{col 84}{space 3}-.0103286
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0069765{col 43}{space 2} .0111137{col 54}{space 1}   -0.63{col 63}{space 3}0.530{col 71}{space 4}-.0287723{col 84}{space 3} .0148192
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0907058{col 43}{space 2} .0188837{col 54}{space 1}   -4.80{col 63}{space 3}0.000{col 71}{space 4}-.1277398{col 84}{space 3}-.0536717
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2}-.1334529{col 43}{space 2} .0136637{col 54}{space 1}   -9.77{col 63}{space 3}0.000{col 71}{space 4}-.1602497{col 84}{space 3}-.1066562
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0280008{col 43}{space 2} .0063765{col 54}{space 1}   -4.39{col 63}{space 3}0.000{col 71}{space 4}-.0405061{col 84}{space 3}-.0154954
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0332942{col 43}{space 2} .0128457{col 54}{space 1}   -2.59{col 63}{space 3}0.010{col 71}{space 4}-.0584867{col 84}{space 3}-.0081017
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0114749{col 43}{space 2} .0100002{col 54}{space 1}   -1.15{col 63}{space 3}0.251{col 71}{space 4}-.0310869{col 84}{space 3} .0081372
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2} -.190827{col 43}{space 2} .0257009{col 54}{space 1}   -7.42{col 63}{space 3}0.000{col 71}{space 4}-.2412305{col 84}{space 3}-.1404234
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}-.1918279{col 43}{space 2} .0163421{col 54}{space 1}  -11.74{col 63}{space 3}0.000{col 71}{space 4}-.2238773{col 84}{space 3}-.1597784
{txt}{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0111517{col 43}{space 2} .0074338{col 54}{space 1}   -1.50{col 63}{space 3}0.134{col 71}{space 4}-.0257307{col 84}{space 3} .0034272
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2} .0498077{col 43}{space 2} .0115082{col 54}{space 1}    4.33{col 63}{space 3}0.000{col 71}{space 4} .0272382{col 84}{space 3} .0723772
{txt}{space 21}2007#AU  {c |}{col 31}{res}{space 2}-.0117255{col 43}{space 2} .0113291{col 54}{space 1}   -1.03{col 63}{space 3}0.301{col 71}{space 4}-.0339437{col 84}{space 3} .0104927
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.0853745{col 43}{space 2} .0158422{col 54}{space 1}   -5.39{col 63}{space 3}0.000{col 71}{space 4}-.1164437{col 84}{space 3}-.0543054
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2}-.0728199{col 43}{space 2} .0104653{col 54}{space 1}   -6.96{col 63}{space 3}0.000{col 71}{space 4} -.093344{col 84}{space 3}-.0522958
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2}-.0101698{col 43}{space 2} .0079326{col 54}{space 1}   -1.28{col 63}{space 3}0.200{col 71}{space 4}-.0257269{col 84}{space 3} .0053873
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2} .0264093{col 43}{space 2} .0106076{col 54}{space 1}    2.49{col 63}{space 3}0.013{col 71}{space 4} .0056061{col 84}{space 3} .0472125
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}-.0048591{col 43}{space 2} .0133996{col 54}{space 1}   -0.36{col 63}{space 3}0.717{col 71}{space 4}-.0311379{col 84}{space 3} .0214196
{txt}{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0928189{col 43}{space 2} .0188764{col 54}{space 1}   -4.92{col 63}{space 3}0.000{col 71}{space 4}-.1298386{col 84}{space 3}-.0557992
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2}-.0733761{col 43}{space 2} .0112928{col 54}{space 1}   -6.50{col 63}{space 3}0.000{col 71}{space 4}-.0955231{col 84}{space 3}-.0512291
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2}-.0000908{col 43}{space 2} .0073851{col 54}{space 1}   -0.01{col 63}{space 3}0.990{col 71}{space 4}-.0145741{col 84}{space 3} .0143926
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0183165{col 43}{space 2} .0116798{col 54}{space 1}   -1.57{col 63}{space 3}0.117{col 71}{space 4}-.0412225{col 84}{space 3} .0045895
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0223382{col 43}{space 2} .0141777{col 54}{space 1}   -1.58{col 63}{space 3}0.115{col 71}{space 4} -.050143{col 84}{space 3} .0054665
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.1507926{col 43}{space 2} .0206735{col 54}{space 1}   -7.29{col 63}{space 3}0.000{col 71}{space 4}-.1913365{col 84}{space 3}-.1102486
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2} -.157336{col 43}{space 2} .0133642{col 54}{space 1}  -11.77{col 63}{space 3}0.000{col 71}{space 4}-.1835454{col 84}{space 3}-.1311267
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}-.0043379{col 43}{space 2} .0082098{col 54}{space 1}   -0.53{col 63}{space 3}0.597{col 71}{space 4}-.0204386{col 84}{space 3} .0117629
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0892923{col 43}{space 2} .0153956{col 54}{space 1}    5.80{col 63}{space 3}0.000{col 71}{space 4} .0590991{col 84}{space 3} .1194855
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0139242{col 43}{space 2} .0253064{col 54}{space 1}    0.55{col 63}{space 3}0.582{col 71}{space 4}-.0357057{col 84}{space 3} .0635541
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2} .1659126{col 43}{space 2} .0298433{col 54}{space 1}    5.56{col 63}{space 3}0.000{col 71}{space 4} .1073851{col 84}{space 3} .2244402
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2} .0074674{col 43}{space 2} .0131939{col 54}{space 1}    0.57{col 63}{space 3}0.571{col 71}{space 4}-.0184079{col 84}{space 3} .0333428
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0276284{col 43}{space 2} .0165359{col 54}{space 1}    1.67{col 63}{space 3}0.095{col 71}{space 4}-.0048012{col 84}{space 3} .0600581
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0705559{col 43}{space 2} .0136379{col 54}{space 1}    5.17{col 63}{space 3}0.000{col 71}{space 4} .0438099{col 84}{space 3}  .097302
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0377882{col 43}{space 2}  .025992{col 54}{space 1}    1.45{col 63}{space 3}0.146{col 71}{space 4}-.0131862{col 84}{space 3} .0887627
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} .0511899{col 43}{space 2} .0235485{col 54}{space 1}    2.17{col 63}{space 3}0.030{col 71}{space 4} .0050076{col 84}{space 3} .0973723
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2}-.0971377{col 43}{space 2} .0127408{col 54}{space 1}   -7.62{col 63}{space 3}0.000{col 71}{space 4}-.1221245{col 84}{space 3}-.0721509
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0221592{col 43}{space 2} .0129154{col 54}{space 1}    1.72{col 63}{space 3}0.086{col 71}{space 4}  -.00317{col 84}{space 3} .0474884
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5555178{col 43}{space 2} .0034049{col 54}{space 1}  163.15{col 63}{space 3}0.000{col 71}{space 4} .5488403{col 84}{space 3} .5621953
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .85604653
                      {txt}sigma_e {c |} {res} .13889849
                          {txt}rho {c |} {res} .97434839{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est3{txt} stored)

{com}. eststo: xtreg ihslights esmdsi esmdsi_ifdam esmdsi_ifhydro esmdsi_up1_ifdam esmdsi_up1_ifhydro $weather i.year##i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    95,652
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,971

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2195{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0880{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0049{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}74{txt}, {res}1983{txt}){col 67}={col 70}{res}    16.94
{txt}corr(u_i, Xb) = {res}-0.1645{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,984} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0210814{col 43}{space 2} .0029041{col 54}{space 1}   -7.26{col 63}{space 3}0.000{col 71}{space 4}-.0267769{col 84}{space 3}-.0153859
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0228881{col 43}{space 2} .0061494{col 54}{space 1}    3.72{col 63}{space 3}0.000{col 71}{space 4} .0108281{col 84}{space 3}  .034948
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0164209{col 43}{space 2} .0103408{col 54}{space 1}   -1.59{col 63}{space 3}0.112{col 71}{space 4}-.0367009{col 84}{space 3} .0038592
{txt}{space 13}esmdsi_up1_ifdam {c |}{col 31}{res}{space 2} .0077044{col 43}{space 2} .0076732{col 54}{space 1}    1.00{col 63}{space 3}0.315{col 71}{space 4}-.0073439{col 84}{space 3} .0227527
{txt}{space 11}esmdsi_up1_ifhydro {c |}{col 31}{res}{space 2}-.0015412{col 43}{space 2} .0132349{col 54}{space 1}   -0.12{col 63}{space 3}0.907{col 71}{space 4} -.027497{col 84}{space 3} .0244146
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0129183{col 43}{space 2} .0027314{col 54}{space 1}   -4.73{col 63}{space 3}0.000{col 71}{space 4} -.018275{col 84}{space 3}-.0075616
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} -.013515{col 43}{space 2} .0027438{col 54}{space 1}   -4.93{col 63}{space 3}0.000{col 71}{space 4}-.0188961{col 84}{space 3}-.0081339
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} .0000107{col 43}{space 2} .0013068{col 54}{space 1}    0.01{col 63}{space 3}0.993{col 71}{space 4}-.0025522{col 84}{space 3} .0025735
{txt}{space 29} {c |}
{space 25}year {c |}
{space 24}2001  {c |}{col 31}{res}{space 2} .0005929{col 43}{space 2} .0023968{col 54}{space 1}    0.25{col 63}{space 3}0.805{col 71}{space 4}-.0041076{col 84}{space 3} .0052935
{txt}{space 24}2002  {c |}{col 31}{res}{space 2} .0181676{col 43}{space 2} .0033799{col 54}{space 1}    5.38{col 63}{space 3}0.000{col 71}{space 4} .0115391{col 84}{space 3} .0247961
{txt}{space 24}2003  {c |}{col 31}{res}{space 2}-.0099504{col 43}{space 2} .0039252{col 54}{space 1}   -2.54{col 63}{space 3}0.011{col 71}{space 4}-.0176484{col 84}{space 3}-.0022525
{txt}{space 24}2004  {c |}{col 31}{res}{space 2}-.0044493{col 43}{space 2} .0037237{col 54}{space 1}   -1.19{col 63}{space 3}0.232{col 71}{space 4}-.0117519{col 84}{space 3} .0028534
{txt}{space 24}2005  {c |}{col 31}{res}{space 2} .0104871{col 43}{space 2} .0046158{col 54}{space 1}    2.27{col 63}{space 3}0.023{col 71}{space 4} .0014348{col 84}{space 3} .0195395
{txt}{space 24}2006  {c |}{col 31}{res}{space 2} .0089892{col 43}{space 2} .0061866{col 54}{space 1}    1.45{col 63}{space 3}0.146{col 71}{space 4}-.0031437{col 84}{space 3}  .021122
{txt}{space 24}2007  {c |}{col 31}{res}{space 2} .0242325{col 43}{space 2} .0070267{col 54}{space 1}    3.45{col 63}{space 3}0.001{col 71}{space 4}  .010452{col 84}{space 3} .0380131
{txt}{space 24}2008  {c |}{col 31}{res}{space 2} .0168905{col 43}{space 2} .0062235{col 54}{space 1}    2.71{col 63}{space 3}0.007{col 71}{space 4} .0046852{col 84}{space 3} .0290958
{txt}{space 24}2009  {c |}{col 31}{res}{space 2} .0118888{col 43}{space 2} .0070782{col 54}{space 1}    1.68{col 63}{space 3}0.093{col 71}{space 4}-.0019926{col 84}{space 3} .0257703
{txt}{space 24}2010  {c |}{col 31}{res}{space 2} .0737293{col 43}{space 2} .0096481{col 54}{space 1}    7.64{col 63}{space 3}0.000{col 71}{space 4} .0548078{col 84}{space 3} .0926508
{txt}{space 24}2011  {c |}{col 31}{res}{space 2} .0470764{col 43}{space 2} .0081607{col 54}{space 1}    5.77{col 63}{space 3}0.000{col 71}{space 4}  .031072{col 84}{space 3} .0630808
{txt}{space 29} {c |}
{space 20}continent {c |}
{space 26}AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 26}SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0145577{col 43}{space 2} .0043419{col 54}{space 1}   -3.35{col 63}{space 3}0.001{col 71}{space 4}-.0230729{col 84}{space 3}-.0060425
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}  .001304{col 43}{space 2} .0068854{col 54}{space 1}    0.19{col 63}{space 3}0.850{col 71}{space 4}-.0121993{col 84}{space 3} .0148073
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0104798{col 43}{space 2} .0104553{col 54}{space 1}    1.00{col 63}{space 3}0.316{col 71}{space 4}-.0100247{col 84}{space 3} .0309843
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2}-.0237591{col 43}{space 2} .0086379{col 54}{space 1}   -2.75{col 63}{space 3}0.006{col 71}{space 4}-.0406994{col 84}{space 3}-.0068188
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}    -.009{col 43}{space 2} .0034618{col 54}{space 1}   -2.60{col 63}{space 3}0.009{col 71}{space 4}-.0157892{col 84}{space 3}-.0022109
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0041952{col 43}{space 2}   .00566{col 54}{space 1}   -0.74{col 63}{space 3}0.459{col 71}{space 4}-.0152953{col 84}{space 3} .0069049
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0174819{col 43}{space 2} .0093315{col 54}{space 1}    1.87{col 63}{space 3}0.061{col 71}{space 4}-.0008186{col 84}{space 3} .0357824
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}  -.01735{col 43}{space 2} .0103849{col 54}{space 1}   -1.67{col 63}{space 3}0.095{col 71}{space 4}-.0377164{col 84}{space 3} .0030164
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2}-.0624674{col 43}{space 2} .0089851{col 54}{space 1}   -6.95{col 63}{space 3}0.000{col 71}{space 4}-.0800886{col 84}{space 3}-.0448462
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2}-.0078108{col 43}{space 2} .0039898{col 54}{space 1}   -1.96{col 63}{space 3}0.050{col 71}{space 4}-.0156354{col 84}{space 3} .0000138
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.0674278{col 43}{space 2} .0094164{col 54}{space 1}   -7.16{col 63}{space 3}0.000{col 71}{space 4}-.0858949{col 84}{space 3}-.0489607
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2} .0125316{col 43}{space 2}  .009206{col 54}{space 1}    1.36{col 63}{space 3}0.174{col 71}{space 4}-.0055227{col 84}{space 3}  .030586
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.1620957{col 43}{space 2} .0150961{col 54}{space 1}  -10.74{col 63}{space 3}0.000{col 71}{space 4}-.1917015{col 84}{space 3}-.1324899
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.1722876{col 43}{space 2} .0137568{col 54}{space 1}  -12.52{col 63}{space 3}0.000{col 71}{space 4}-.1992668{col 84}{space 3}-.1453083
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0203617{col 43}{space 2} .0069321{col 54}{space 1}   -2.94{col 63}{space 3}0.003{col 71}{space 4}-.0339567{col 84}{space 3}-.0067667
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.0433207{col 43}{space 2} .0087082{col 54}{space 1}   -4.97{col 63}{space 3}0.000{col 71}{space 4}-.0603989{col 84}{space 3}-.0262425
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0227556{col 43}{space 2} .0121794{col 54}{space 1}    1.87{col 63}{space 3}0.062{col 71}{space 4}-.0011303{col 84}{space 3} .0466414
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.1324876{col 43}{space 2} .0148611{col 54}{space 1}   -8.92{col 63}{space 3}0.000{col 71}{space 4}-.1616326{col 84}{space 3}-.1033426
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2}  -.15757{col 43}{space 2} .0134212{col 54}{space 1}  -11.74{col 63}{space 3}0.000{col 71}{space 4}-.1838912{col 84}{space 3}-.1312489
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0240156{col 43}{space 2} .0063422{col 54}{space 1}   -3.79{col 63}{space 3}0.000{col 71}{space 4}-.0364536{col 84}{space 3}-.0115776
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0292484{col 43}{space 2} .0096489{col 54}{space 1}   -3.03{col 63}{space 3}0.002{col 71}{space 4}-.0481714{col 84}{space 3}-.0103253
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0069259{col 43}{space 2} .0110387{col 54}{space 1}   -0.63{col 63}{space 3}0.530{col 71}{space 4}-.0285746{col 84}{space 3} .0147228
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0908166{col 43}{space 2}  .018878{col 54}{space 1}   -4.81{col 63}{space 3}0.000{col 71}{space 4}-.1278395{col 84}{space 3}-.0537938
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2}-.1333203{col 43}{space 2} .0136914{col 54}{space 1}   -9.74{col 63}{space 3}0.000{col 71}{space 4}-.1601713{col 84}{space 3}-.1064693
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0272339{col 43}{space 2}  .006531{col 54}{space 1}   -4.17{col 63}{space 3}0.000{col 71}{space 4}-.0400422{col 84}{space 3}-.0144256
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0335394{col 43}{space 2}  .012867{col 54}{space 1}   -2.61{col 63}{space 3}0.009{col 71}{space 4}-.0587736{col 84}{space 3}-.0083052
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0114995{col 43}{space 2} .0099618{col 54}{space 1}   -1.15{col 63}{space 3}0.248{col 71}{space 4}-.0310361{col 84}{space 3} .0080371
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.1909506{col 43}{space 2} .0257469{col 54}{space 1}   -7.42{col 63}{space 3}0.000{col 71}{space 4}-.2414444{col 84}{space 3}-.1404568
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}-.1919172{col 43}{space 2} .0163377{col 54}{space 1}  -11.75{col 63}{space 3}0.000{col 71}{space 4}-.2239581{col 84}{space 3}-.1598763
{txt}{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0108537{col 43}{space 2} .0074891{col 54}{space 1}   -1.45{col 63}{space 3}0.147{col 71}{space 4}-.0255411{col 84}{space 3} .0038336
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}  .049711{col 43}{space 2} .0115154{col 54}{space 1}    4.32{col 63}{space 3}0.000{col 71}{space 4} .0271274{col 84}{space 3} .0722945
{txt}{space 21}2007#AU  {c |}{col 31}{res}{space 2}-.0114139{col 43}{space 2} .0113051{col 54}{space 1}   -1.01{col 63}{space 3}0.313{col 71}{space 4}-.0335851{col 84}{space 3} .0107573
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.0852148{col 43}{space 2} .0158335{col 54}{space 1}   -5.38{col 63}{space 3}0.000{col 71}{space 4}-.1162668{col 84}{space 3}-.0541629
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2}-.0721541{col 43}{space 2} .0104593{col 54}{space 1}   -6.90{col 63}{space 3}0.000{col 71}{space 4}-.0926664{col 84}{space 3}-.0516418
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2}-.0099571{col 43}{space 2} .0079469{col 54}{space 1}   -1.25{col 63}{space 3}0.210{col 71}{space 4}-.0255422{col 84}{space 3} .0056281
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2} .0264564{col 43}{space 2} .0105996{col 54}{space 1}    2.50{col 63}{space 3}0.013{col 71}{space 4} .0056689{col 84}{space 3} .0472439
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}-.0044956{col 43}{space 2} .0133825{col 54}{space 1}   -0.34{col 63}{space 3}0.737{col 71}{space 4}-.0307408{col 84}{space 3} .0217496
{txt}{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0926946{col 43}{space 2} .0188896{col 54}{space 1}   -4.91{col 63}{space 3}0.000{col 71}{space 4}-.1297403{col 84}{space 3} -.055649
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2}-.0731535{col 43}{space 2} .0112988{col 54}{space 1}   -6.47{col 63}{space 3}0.000{col 71}{space 4}-.0953123{col 84}{space 3}-.0509947
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0011311{col 43}{space 2} .0074861{col 54}{space 1}    0.15{col 63}{space 3}0.880{col 71}{space 4}-.0135504{col 84}{space 3} .0158127
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0188654{col 43}{space 2} .0116909{col 54}{space 1}   -1.61{col 63}{space 3}0.107{col 71}{space 4}-.0417932{col 84}{space 3} .0040624
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0221261{col 43}{space 2} .0142506{col 54}{space 1}   -1.55{col 63}{space 3}0.121{col 71}{space 4}-.0500738{col 84}{space 3} .0058217
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.1502053{col 43}{space 2} .0206697{col 54}{space 1}   -7.27{col 63}{space 3}0.000{col 71}{space 4} -.190742{col 84}{space 3}-.1096686
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2}-.1569474{col 43}{space 2} .0133898{col 54}{space 1}  -11.72{col 63}{space 3}0.000{col 71}{space 4}-.1832069{col 84}{space 3}-.1306878
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}-.0024874{col 43}{space 2} .0082853{col 54}{space 1}   -0.30{col 63}{space 3}0.764{col 71}{space 4}-.0187362{col 84}{space 3} .0137613
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0893506{col 43}{space 2} .0154419{col 54}{space 1}    5.79{col 63}{space 3}0.000{col 71}{space 4} .0590665{col 84}{space 3} .1196348
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0143377{col 43}{space 2} .0252872{col 54}{space 1}    0.57{col 63}{space 3}0.571{col 71}{space 4}-.0352547{col 84}{space 3}   .06393
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2} .1667785{col 43}{space 2} .0297591{col 54}{space 1}    5.60{col 63}{space 3}0.000{col 71}{space 4} .1084161{col 84}{space 3} .2251408
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2} .0077652{col 43}{space 2}  .013195{col 54}{space 1}    0.59{col 63}{space 3}0.556{col 71}{space 4}-.0181122{col 84}{space 3} .0336426
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0281593{col 43}{space 2} .0164786{col 54}{space 1}    1.71{col 63}{space 3}0.088{col 71}{space 4}-.0041578{col 84}{space 3} .0604764
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0704958{col 43}{space 2} .0135969{col 54}{space 1}    5.18{col 63}{space 3}0.000{col 71}{space 4} .0438301{col 84}{space 3} .0971615
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0379102{col 43}{space 2} .0259513{col 54}{space 1}    1.46{col 63}{space 3}0.144{col 71}{space 4}-.0129846{col 84}{space 3} .0888049
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} .0507019{col 43}{space 2} .0235321{col 54}{space 1}    2.15{col 63}{space 3}0.031{col 71}{space 4} .0045516{col 84}{space 3} .0968522
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2}-.0975351{col 43}{space 2} .0127621{col 54}{space 1}   -7.64{col 63}{space 3}0.000{col 71}{space 4}-.1225636{col 84}{space 3}-.0725066
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0220615{col 43}{space 2} .0129387{col 54}{space 1}    1.71{col 63}{space 3}0.088{col 71}{space 4}-.0033134{col 84}{space 3} .0474364
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5554662{col 43}{space 2}  .003416{col 54}{space 1}  162.61{col 63}{space 3}0.000{col 71}{space 4} .5487669{col 84}{space 3} .5621656
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res}  .8561499
                      {txt}sigma_e {c |} {res} .13890013
                          {txt}rho {c |} {res} .97435384{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est4{txt} stored)

{com}. 
. 
. esttab using "../output/table5_upstream_dams_dsi.rtf", replace se r2(3) sca("N_clust N subbasins" "N_g N cells") ///
>    nomti obslast label star( + .10 * .05 ** .01 ) onecell drop(*dev_* *cont* *.year* _cons) order(esmdsi esmdsi_ifdam esmdsi_up1_ifdam esmdsi_farupdam esmdsi_ifhydro esmdsi_up1_ifhydro)/*
> */ title("Table %. Effects of upstream dams on drought") /*
> */ addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Drought index is the DSI. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects. Restricted to areas with at least one upstream subbasin.")
{res}{txt}(output written to {browse  `"../output/table5_upstream_dams_dsi.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. *sc-PDSI, upstream dams
. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam $weather i.year#i.continent if flare==0 & !no_upstream, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2000b.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2000b.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    94,788
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,899

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0151{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0008{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}71{txt}, {res}1973{txt}){col 67}={col 70}{res}    16.95
{txt}corr(u_i, Xb) = {res}-0.0650{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,974} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2} -.013388{col 43}{space 2} .0033078{col 54}{space 1}   -4.05{col 63}{space 3}0.000{col 71}{space 4}-.0198751{col 84}{space 3}-.0069009
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2} .0064264{col 43}{space 2} .0067969{col 54}{space 1}    0.95{col 63}{space 3}0.345{col 71}{space 4}-.0069034{col 84}{space 3} .0197563
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0135263{col 43}{space 2} .0028224{col 54}{space 1}   -4.79{col 63}{space 3}0.000{col 71}{space 4}-.0190615{col 84}{space 3} -.007991
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0146277{col 43}{space 2} .0027346{col 54}{space 1}   -5.35{col 63}{space 3}0.000{col 71}{space 4}-.0199907{col 84}{space 3}-.0092648
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0002931{col 43}{space 2} .0013223{col 54}{space 1}   -0.22{col 63}{space 3}0.825{col 71}{space 4}-.0028864{col 84}{space 3} .0023001
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.0753475{col 43}{space 2} .0092015{col 54}{space 1}   -8.19{col 63}{space 3}0.000{col 71}{space 4}-.0933933{col 84}{space 3}-.0573017
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2}-.0130944{col 43}{space 2} .0120232{col 54}{space 1}   -1.09{col 63}{space 3}0.276{col 71}{space 4}-.0366739{col 84}{space 3} .0104851
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2000#NA  {c |}{col 31}{res}{space 2} .0561162{col 43}{space 2} .0093384{col 54}{space 1}    6.01{col 63}{space 3}0.000{col 71}{space 4} .0378021{col 84}{space 3} .0744304
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0032658{col 43}{space 2} .0016432{col 54}{space 1}    1.99{col 63}{space 3}0.047{col 71}{space 4} .0000433{col 84}{space 3} .0064884
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0888943{col 43}{space 2} .0096337{col 54}{space 1}   -9.23{col 63}{space 3}0.000{col 71}{space 4}-.1077876{col 84}{space 3}-.0700009
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}-.0128152{col 43}{space 2}  .012819{col 54}{space 1}   -1.00{col 63}{space 3}0.318{col 71}{space 4}-.0379554{col 84}{space 3}  .012325
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0103147{col 43}{space 2} .0102039{col 54}{space 1}    1.01{col 63}{space 3}0.312{col 71}{space 4}-.0096969{col 84}{space 3} .0303263
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .0329708{col 43}{space 2} .0088115{col 54}{space 1}    3.74{col 63}{space 3}0.000{col 71}{space 4}   .01569{col 84}{space 3} .0502516
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0094163{col 43}{space 2} .0028868{col 54}{space 1}   -3.26{col 63}{space 3}0.001{col 71}{space 4}-.0150778{col 84}{space 3}-.0037549
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0162201{col 43}{space 2}  .002213{col 54}{space 1}    7.33{col 63}{space 3}0.000{col 71}{space 4} .0118801{col 84}{space 3} .0205601
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0605285{col 43}{space 2} .0074973{col 54}{space 1}   -8.07{col 63}{space 3}0.000{col 71}{space 4}-.0752319{col 84}{space 3}-.0458251
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0157887{col 43}{space 2} .0099917{col 54}{space 1}    1.58{col 63}{space 3}0.114{col 71}{space 4}-.0038068{col 84}{space 3} .0353842
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.0042569{col 43}{space 2} .0099553{col 54}{space 1}   -0.43{col 63}{space 3}0.669{col 71}{space 4}-.0237809{col 84}{space 3}  .015267
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .0110629{col 43}{space 2} .0098383{col 54}{space 1}    1.12{col 63}{space 3}0.261{col 71}{space 4}-.0082316{col 84}{space 3} .0303574
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0103484{col 43}{space 2} .0026988{col 54}{space 1}    3.83{col 63}{space 3}0.000{col 71}{space 4} .0050557{col 84}{space 3} .0156412
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0042337{col 43}{space 2}  .003381{col 54}{space 1}   -1.25{col 63}{space 3}0.211{col 71}{space 4}-.0108645{col 84}{space 3} .0023971
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.1536681{col 43}{space 2} .0106998{col 54}{space 1}  -14.36{col 63}{space 3}0.000{col 71}{space 4}-.1746522{col 84}{space 3}-.1326839
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2} -.008573{col 43}{space 2} .0110297{col 54}{space 1}   -0.78{col 63}{space 3}0.437{col 71}{space 4}-.0302041{col 84}{space 3} .0130581
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.1748589{col 43}{space 2}  .014459{col 54}{space 1}  -12.09{col 63}{space 3}0.000{col 71}{space 4}-.2032153{col 84}{space 3}-.1465024
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.1257959{col 43}{space 2} .0112854{col 54}{space 1}  -11.15{col 63}{space 3}0.000{col 71}{space 4}-.1479284{col 84}{space 3}-.1036634
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0306033{col 43}{space 2} .0062929{col 54}{space 1}   -4.86{col 63}{space 3}0.000{col 71}{space 4}-.0429446{col 84}{space 3}-.0182619
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2} .0005311{col 43}{space 2}  .003005{col 54}{space 1}    0.18{col 63}{space 3}0.860{col 71}{space 4}-.0053623{col 84}{space 3} .0064245
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.1222757{col 43}{space 2} .0094597{col 54}{space 1}  -12.93{col 63}{space 3}0.000{col 71}{space 4}-.1408278{col 84}{space 3}-.1037236
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0013923{col 43}{space 2} .0078069{col 54}{space 1}    0.18{col 63}{space 3}0.858{col 71}{space 4}-.0139184{col 84}{space 3}  .016703
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.1387649{col 43}{space 2} .0143002{col 54}{space 1}   -9.70{col 63}{space 3}0.000{col 71}{space 4}-.1668099{col 84}{space 3}-.1107198
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2}-.1063327{col 43}{space 2} .0101256{col 54}{space 1}  -10.50{col 63}{space 3}0.000{col 71}{space 4}-.1261907{col 84}{space 3}-.0864747
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0277215{col 43}{space 2} .0055564{col 54}{space 1}   -4.99{col 63}{space 3}0.000{col 71}{space 4}-.0386185{col 84}{space 3}-.0168244
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0134762{col 43}{space 2} .0037931{col 54}{space 1}    3.55{col 63}{space 3}0.000{col 71}{space 4} .0060373{col 84}{space 3}  .020915
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0926542{col 43}{space 2} .0089073{col 54}{space 1}  -10.40{col 63}{space 3}0.000{col 71}{space 4}-.1101229{col 84}{space 3}-.0751856
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0069786{col 43}{space 2} .0096603{col 54}{space 1}   -0.72{col 63}{space 3}0.470{col 71}{space 4}-.0259242{col 84}{space 3} .0119669
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0821238{col 43}{space 2} .0183369{col 54}{space 1}   -4.48{col 63}{space 3}0.000{col 71}{space 4}-.1180854{col 84}{space 3}-.0461621
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2}-.0675328{col 43}{space 2} .0091686{col 54}{space 1}   -7.37{col 63}{space 3}0.000{col 71}{space 4}-.0855139{col 84}{space 3}-.0495517
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0182359{col 43}{space 2} .0049518{col 54}{space 1}   -3.68{col 63}{space 3}0.000{col 71}{space 4}-.0279472{col 84}{space 3}-.0085247
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0091684{col 43}{space 2} .0052835{col 54}{space 1}    1.74{col 63}{space 3}0.083{col 71}{space 4}-.0011933{col 84}{space 3} .0195302
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0991211{col 43}{space 2} .0095044{col 54}{space 1}  -10.43{col 63}{space 3}0.000{col 71}{space 4}-.1177608{col 84}{space 3}-.0804814
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0129304{col 43}{space 2} .0095999{col 54}{space 1}   -1.35{col 63}{space 3}0.178{col 71}{space 4}-.0317573{col 84}{space 3} .0058966
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.1855825{col 43}{space 2} .0249635{col 54}{space 1}   -7.43{col 63}{space 3}0.000{col 71}{space 4}-.2345402{col 84}{space 3}-.1366248
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}-.1247704{col 43}{space 2} .0142351{col 54}{space 1}   -8.76{col 63}{space 3}0.000{col 71}{space 4}-.1526878{col 84}{space 3}-.0968529
{txt}{space 21}2006#SA  {c |}{col 31}{res}{space 2} -.001283{col 43}{space 2} .0044269{col 54}{space 1}   -0.29{col 63}{space 3}0.772{col 71}{space 4}-.0099649{col 84}{space 3}  .007399
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0218383{col 43}{space 2} .0054067{col 54}{space 1}    4.04{col 63}{space 3}0.000{col 71}{space 4} .0112348{col 84}{space 3} .0324417
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#AU  {c |}{col 31}{res}{space 2}-.0000297{col 43}{space 2} .0060224{col 54}{space 1}   -0.00{col 63}{space 3}0.996{col 71}{space 4}-.0118407{col 84}{space 3} .0117812
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2} -.062303{col 43}{space 2} .0142099{col 54}{space 1}   -4.38{col 63}{space 3}0.000{col 71}{space 4}-.0901711{col 84}{space 3} -.034435
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2}  .007089{col 43}{space 2} .0064056{col 54}{space 1}    1.11{col 63}{space 3}0.269{col 71}{space 4}-.0054735{col 84}{space 3} .0196515
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0124433{col 43}{space 2}  .003691{col 54}{space 1}    3.37{col 63}{space 3}0.001{col 71}{space 4} .0052045{col 84}{space 3}  .019682
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0134664{col 43}{space 2} .0047856{col 54}{space 1}    2.81{col 63}{space 3}0.005{col 71}{space 4} .0040812{col 84}{space 3} .0228517
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.0322557{col 43}{space 2} .0058501{col 54}{space 1}   -5.51{col 63}{space 3}0.000{col 71}{space 4}-.0437287{col 84}{space 3}-.0207827
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0791564{col 43}{space 2} .0176639{col 54}{space 1}   -4.48{col 63}{space 3}0.000{col 71}{space 4}-.1137983{col 84}{space 3}-.0445146
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0163697{col 43}{space 2} .0040449{col 54}{space 1}    4.05{col 63}{space 3}0.000{col 71}{space 4}  .008437{col 84}{space 3} .0243023
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0142226{col 43}{space 2} .0043346{col 54}{space 1}    3.28{col 63}{space 3}0.001{col 71}{space 4} .0057217{col 84}{space 3} .0227235
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2} -.083594{col 43}{space 2} .0097225{col 54}{space 1}   -8.60{col 63}{space 3}0.000{col 71}{space 4}-.1026614{col 84}{space 3}-.0645266
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0230694{col 43}{space 2} .0122434{col 54}{space 1}   -1.88{col 63}{space 3}0.060{col 71}{space 4}-.0470808{col 84}{space 3} .0009419
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.1437369{col 43}{space 2} .0190547{col 54}{space 1}   -7.54{col 63}{space 3}0.000{col 71}{space 4}-.1811063{col 84}{space 3}-.1063675
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2}-.0895813{col 43}{space 2} .0092428{col 54}{space 1}   -9.69{col 63}{space 3}0.000{col 71}{space 4}-.1077079{col 84}{space 3}-.0714547
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2} .0065356{col 43}{space 2} .0042879{col 54}{space 1}    1.52{col 63}{space 3}0.128{col 71}{space 4}-.0018737{col 84}{space 3} .0149448
{txt}{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0643391{col 43}{space 2} .0078851{col 54}{space 1}    8.16{col 63}{space 3}0.000{col 71}{space 4} .0488751{col 84}{space 3} .0798031
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0832693{col 43}{space 2} .0092424{col 54}{space 1}    9.01{col 63}{space 3}0.000{col 71}{space 4} .0651434{col 84}{space 3} .1013953
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0762224{col 43}{space 2} .0188558{col 54}{space 1}    4.04{col 63}{space 3}0.000{col 71}{space 4}  .039243{col 84}{space 3} .1132018
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2}  .238206{col 43}{space 2} .0288123{col 54}{space 1}    8.27{col 63}{space 3}0.000{col 71}{space 4} .1817001{col 84}{space 3} .2947118
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2} .1365956{col 43}{space 2} .0108243{col 54}{space 1}   12.62{col 63}{space 3}0.000{col 71}{space 4} .1153675{col 84}{space 3} .1578238
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .1020313{col 43}{space 2} .0133588{col 54}{space 1}    7.64{col 63}{space 3}0.000{col 71}{space 4} .0758325{col 84}{space 3} .1282301
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0400645{col 43}{space 2} .0064675{col 54}{space 1}    6.19{col 63}{space 3}0.000{col 71}{space 4} .0273806{col 84}{space 3} .0527484
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0371312{col 43}{space 2} .0075033{col 54}{space 1}    4.95{col 63}{space 3}0.000{col 71}{space 4} .0224159{col 84}{space 3} .0518466
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0723001{col 43}{space 2} .0185147{col 54}{space 1}    3.91{col 63}{space 3}0.000{col 71}{space 4} .0359896{col 84}{space 3} .1086106
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} .0956112{col 43}{space 2} .0222592{col 54}{space 1}    4.30{col 63}{space 3}0.000{col 71}{space 4} .0519571{col 84}{space 3} .1392652
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2} .0047845{col 43}{space 2} .0088132{col 54}{space 1}    0.54{col 63}{space 3}0.587{col 71}{space 4}-.0124997{col 84}{space 3} .0220687
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2}  .068773{col 43}{space 2} .0100676{col 54}{space 1}    6.83{col 63}{space 3}0.000{col 71}{space 4} .0490287{col 84}{space 3} .0885173
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2}  .562254{col 43}{space 2} .0035737{col 54}{space 1}  157.33{col 63}{space 3}0.000{col 71}{space 4} .5552453{col 84}{space 3} .5692626
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .82901438
                      {txt}sigma_e {c |} {res} .13789131
                          {txt}rho {c |} {res}  .9730786{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam esmpdsi_up1_ifdam $weather i.year#i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2009.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2006.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2002.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    94,788
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,899

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2219{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0116{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0023{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}72{txt}, {res}1973{txt}){col 67}={col 70}{res}    16.74
{txt}corr(u_i, Xb) = {res}-0.2107{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,974} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2} -.012543{col 43}{space 2} .0034775{col 54}{space 1}   -3.61{col 63}{space 3}0.000{col 71}{space 4}-.0193629{col 84}{space 3}-.0057231
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2} .0088978{col 43}{space 2}  .006506{col 54}{space 1}    1.37{col 63}{space 3}0.172{col 71}{space 4}-.0038615{col 84}{space 3} .0216571
{txt}{space 12}esmpdsi_up1_ifdam {c |}{col 31}{res}{space 2}-.0067044{col 43}{space 2} .0080734{col 54}{space 1}   -0.83{col 63}{space 3}0.406{col 71}{space 4}-.0225377{col 84}{space 3} .0091288
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0135293{col 43}{space 2} .0028227{col 54}{space 1}   -4.79{col 63}{space 3}0.000{col 71}{space 4} -.019065{col 84}{space 3}-.0079935
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0146282{col 43}{space 2} .0027344{col 54}{space 1}   -5.35{col 63}{space 3}0.000{col 71}{space 4}-.0199907{col 84}{space 3}-.0092656
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0002979{col 43}{space 2} .0013225{col 54}{space 1}   -0.23{col 63}{space 3}0.822{col 71}{space 4}-.0028916{col 84}{space 3} .0022959
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.0753193{col 43}{space 2} .0092051{col 54}{space 1}   -8.18{col 63}{space 3}0.000{col 71}{space 4}-.0933721{col 84}{space 3}-.0572664
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2}-.0286147{col 43}{space 2} .0094521{col 54}{space 1}   -3.03{col 63}{space 3}0.002{col 71}{space 4}-.0471518{col 84}{space 3}-.0100775
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2} -.238054{col 43}{space 2} .0288449{col 54}{space 1}   -8.25{col 63}{space 3}0.000{col 71}{space 4}-.2946237{col 84}{space 3}-.1814844
{txt}{space 21}2000#NA  {c |}{col 31}{res}{space 2}  .180825{col 43}{space 2} .0150917{col 54}{space 1}   11.98{col 63}{space 3}0.000{col 71}{space 4} .1512278{col 84}{space 3} .2104223
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}-.0066642{col 43}{space 2} .0042855{col 54}{space 1}   -1.56{col 63}{space 3}0.120{col 71}{space 4}-.0150689{col 84}{space 3} .0017405
{txt}{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0032244{col 43}{space 2} .0016383{col 54}{space 1}    1.97{col 63}{space 3}0.049{col 71}{space 4} .0000115{col 84}{space 3} .0064374
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0888905{col 43}{space 2} .0096374{col 54}{space 1}   -9.22{col 63}{space 3}0.000{col 71}{space 4}-.1077911{col 84}{space 3}  -.06999
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}-.0282968{col 43}{space 2} .0075712{col 54}{space 1}   -3.74{col 63}{space 3}0.000{col 71}{space 4}-.0431452{col 84}{space 3}-.0134485
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2}-.2277476{col 43}{space 2} .0265228{col 54}{space 1}   -8.59{col 63}{space 3}0.000{col 71}{space 4}-.2797633{col 84}{space 3}-.1757319
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .1576741{col 43}{space 2} .0127856{col 54}{space 1}   12.33{col 63}{space 3}0.000{col 71}{space 4} .1325994{col 84}{space 3} .1827488
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0160534{col 43}{space 2} .0035608{col 54}{space 1}   -4.51{col 63}{space 3}0.000{col 71}{space 4}-.0230367{col 84}{space 3}-.0090702
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0161309{col 43}{space 2} .0022042{col 54}{space 1}    7.32{col 63}{space 3}0.000{col 71}{space 4}  .011808{col 84}{space 3} .0204538
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0605076{col 43}{space 2}  .007497{col 54}{space 1}   -8.07{col 63}{space 3}0.000{col 71}{space 4}-.0752106{col 84}{space 3}-.0458047
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.2422384{col 43}{space 2} .0252038{col 54}{space 1}   -9.61{col 63}{space 3}0.000{col 71}{space 4}-.2916673{col 84}{space 3}-.1928094
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .1358322{col 43}{space 2} .0117935{col 54}{space 1}   11.52{col 63}{space 3}0.000{col 71}{space 4} .1127032{col 84}{space 3} .1589611
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0037973{col 43}{space 2} .0032242{col 54}{space 1}    1.18{col 63}{space 3}0.239{col 71}{space 4}-.0025259{col 84}{space 3} .0101206
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2} -.004258{col 43}{space 2} .0033676{col 54}{space 1}   -1.26{col 63}{space 3}0.206{col 71}{space 4}-.0108624{col 84}{space 3} .0023463
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.1536894{col 43}{space 2} .0107034{col 54}{space 1}  -14.36{col 63}{space 3}0.000{col 71}{space 4}-.1746805{col 84}{space 3}-.1326982
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.0239794{col 43}{space 2} .0106431{col 54}{space 1}   -2.25{col 63}{space 3}0.024{col 71}{space 4}-.0448523{col 84}{space 3}-.0031065
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.4127762{col 43}{space 2} .0308244{col 54}{space 1}  -13.39{col 63}{space 3}0.000{col 71}{space 4} -.473228{col 84}{space 3}-.3523243
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2} -.001076{col 43}{space 2}  .008525{col 54}{space 1}   -0.13{col 63}{space 3}0.900{col 71}{space 4}-.0177949{col 84}{space 3} .0156429
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0371646{col 43}{space 2}  .006064{col 54}{space 1}   -6.13{col 63}{space 3}0.000{col 71}{space 4}-.0490572{col 84}{space 3}-.0252721
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2} .0004934{col 43}{space 2} .0029819{col 54}{space 1}    0.17{col 63}{space 3}0.869{col 71}{space 4}-.0053546{col 84}{space 3} .0063414
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.1222194{col 43}{space 2} .0094533{col 54}{space 1}  -12.93{col 63}{space 3}0.000{col 71}{space 4}-.1407588{col 84}{space 3}  -.10368
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2}-.0140143{col 43}{space 2}  .011182{col 54}{space 1}   -1.25{col 63}{space 3}0.210{col 71}{space 4}-.0359441{col 84}{space 3} .0079154
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.3766199{col 43}{space 2}  .030489{col 54}{space 1}  -12.35{col 63}{space 3}0.000{col 71}{space 4}-.4364139{col 84}{space 3} -.316826
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2} .0184103{col 43}{space 2} .0087623{col 54}{space 1}    2.10{col 63}{space 3}0.036{col 71}{space 4} .0012261{col 84}{space 3} .0355946
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0343004{col 43}{space 2} .0050743{col 54}{space 1}   -6.76{col 63}{space 3}0.000{col 71}{space 4}-.0442519{col 84}{space 3}-.0243489
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0134323{col 43}{space 2} .0037837{col 54}{space 1}    3.55{col 63}{space 3}0.000{col 71}{space 4} .0060119{col 84}{space 3} .0208527
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0926343{col 43}{space 2} .0089125{col 54}{space 1}  -10.39{col 63}{space 3}0.000{col 71}{space 4}-.1101132{col 84}{space 3}-.0751553
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0224808{col 43}{space 2} .0127997{col 54}{space 1}   -1.76{col 63}{space 3}0.079{col 71}{space 4}-.0475831{col 84}{space 3} .0026216
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.3200248{col 43}{space 2} .0286279{col 54}{space 1}  -11.18{col 63}{space 3}0.000{col 71}{space 4} -.376169{col 84}{space 3}-.2638807
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2} .0572253{col 43}{space 2} .0092015{col 54}{space 1}    6.22{col 63}{space 3}0.000{col 71}{space 4} .0391795{col 84}{space 3}  .075271
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0248477{col 43}{space 2} .0044627{col 54}{space 1}   -5.57{col 63}{space 3}0.000{col 71}{space 4}-.0335998{col 84}{space 3}-.0160955
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0090973{col 43}{space 2} .0052737{col 54}{space 1}    1.73{col 63}{space 3}0.085{col 71}{space 4}-.0012453{col 84}{space 3} .0194399
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0991699{col 43}{space 2}  .009515{col 54}{space 1}  -10.42{col 63}{space 3}0.000{col 71}{space 4}-.1178304{col 84}{space 3}-.0805094
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2} -.028566{col 43}{space 2}  .008743{col 54}{space 1}   -3.27{col 63}{space 3}0.001{col 71}{space 4}-.0457124{col 84}{space 3}-.0114196
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.4235347{col 43}{space 2} .0326703{col 54}{space 1}  -12.96{col 63}{space 3}0.000{col 71}{space 4}-.4876066{col 84}{space 3}-.3594627
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0078743{col 43}{space 2} .0035808{col 54}{space 1}   -2.20{col 63}{space 3}0.028{col 71}{space 4}-.0148968{col 84}{space 3}-.0008518
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0218974{col 43}{space 2} .0053951{col 54}{space 1}    4.06{col 63}{space 3}0.000{col 71}{space 4} .0113167{col 84}{space 3} .0324781
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#AU  {c |}{col 31}{res}{space 2}-.0155117{col 43}{space 2} .0072167{col 54}{space 1}   -2.15{col 63}{space 3}0.032{col 71}{space 4}-.0296648{col 84}{space 3}-.0013586
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.3003293{col 43}{space 2} .0276613{col 54}{space 1}  -10.86{col 63}{space 3}0.000{col 71}{space 4}-.3545778{col 84}{space 3}-.2460808
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2} .1319013{col 43}{space 2} .0119254{col 54}{space 1}   11.06{col 63}{space 3}0.000{col 71}{space 4} .1085136{col 84}{space 3} .1552891
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0057252{col 43}{space 2} .0034531{col 54}{space 1}    1.66{col 63}{space 3}0.097{col 71}{space 4}-.0010469{col 84}{space 3} .0124972
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0135107{col 43}{space 2} .0047596{col 54}{space 1}    2.84{col 63}{space 3}0.005{col 71}{space 4} .0041763{col 84}{space 3} .0228452
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.0322642{col 43}{space 2} .0058502{col 54}{space 1}   -5.52{col 63}{space 3}0.000{col 71}{space 4}-.0437373{col 84}{space 3} -.020791
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}-.0153093{col 43}{space 2} .0100577{col 54}{space 1}   -1.52{col 63}{space 3}0.128{col 71}{space 4}-.0350342{col 84}{space 3} .0044156
{txt}{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.3172436{col 43}{space 2} .0297038{col 54}{space 1}  -10.68{col 63}{space 3}0.000{col 71}{space 4}-.3754978{col 84}{space 3}-.2589894
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2} .1247778{col 43}{space 2} .0142378{col 54}{space 1}    8.76{col 63}{space 3}0.000{col 71}{space 4}  .096855{col 84}{space 3} .1527006
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0097507{col 43}{space 2} .0037812{col 54}{space 1}    2.58{col 63}{space 3}0.010{col 71}{space 4} .0023353{col 84}{space 3} .0171662
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0141584{col 43}{space 2} .0043265{col 54}{space 1}    3.27{col 63}{space 3}0.001{col 71}{space 4} .0056734{col 84}{space 3} .0226435
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.0836175{col 43}{space 2} .0097241{col 54}{space 1}   -8.60{col 63}{space 3}0.000{col 71}{space 4}-.1026882{col 84}{space 3}-.0645469
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0385513{col 43}{space 2} .0174344{col 54}{space 1}   -2.21{col 63}{space 3}0.027{col 71}{space 4}-.0727431{col 84}{space 3}-.0043595
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.3818853{col 43}{space 2} .0298333{col 54}{space 1}  -12.80{col 63}{space 3}0.000{col 71}{space 4}-.4403934{col 84}{space 3}-.3233772
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2} .0351791{col 43}{space 2} .0108497{col 54}{space 1}    3.24{col 63}{space 3}0.001{col 71}{space 4}  .013901{col 84}{space 3} .0564572
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0643134{col 43}{space 2} .0078705{col 54}{space 1}    8.17{col 63}{space 3}0.000{col 71}{space 4}  .048878{col 84}{space 3} .0797489
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0832859{col 43}{space 2} .0092446{col 54}{space 1}    9.01{col 63}{space 3}0.000{col 71}{space 4} .0651557{col 84}{space 3} .1014161
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0608357{col 43}{space 2} .0213182{col 54}{space 1}    2.85{col 63}{space 3}0.004{col 71}{space 4} .0190271{col 84}{space 3} .1026442
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#NA  {c |}{col 31}{res}{space 2} .2613167{col 43}{space 2} .0185148{col 54}{space 1}   14.11{col 63}{space 3}0.000{col 71}{space 4} .2250061{col 84}{space 3} .2976274
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0953912{col 43}{space 2} .0137144{col 54}{space 1}    6.96{col 63}{space 3}0.000{col 71}{space 4} .0684949{col 84}{space 3} .1222875
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2}  .040073{col 43}{space 2} .0064574{col 54}{space 1}    6.21{col 63}{space 3}0.000{col 71}{space 4} .0274089{col 84}{space 3} .0527371
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2}  .037126{col 43}{space 2} .0075001{col 54}{space 1}    4.95{col 63}{space 3}0.000{col 71}{space 4}  .022417{col 84}{space 3}  .051835
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0568372{col 43}{space 2} .0224997{col 54}{space 1}    2.53{col 63}{space 3}0.012{col 71}{space 4} .0127116{col 84}{space 3} .1009628
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2}-.1424392{col 43}{space 2} .0147958{col 54}{space 1}   -9.63{col 63}{space 3}0.000{col 71}{space 4}-.1714563{col 84}{space 3}-.1134221
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2} .1295112{col 43}{space 2}  .011091{col 54}{space 1}   11.68{col 63}{space 3}0.000{col 71}{space 4}   .10776{col 84}{space 3} .1512625
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0620745{col 43}{space 2} .0101188{col 54}{space 1}    6.13{col 63}{space 3}0.000{col 71}{space 4} .0422299{col 84}{space 3} .0819191
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5742281{col 43}{space 2} .0055568{col 54}{space 1}  103.34{col 63}{space 3}0.000{col 71}{space 4} .5633302{col 84}{space 3}  .585126
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .84559417
                      {txt}sigma_e {c |} {res} .13788925
                          {txt}rho {c |} {res} .97409764{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam esmpdsi_up1_ifdam esmpdsi_farupdam $weather i.year#i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2000b.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2006.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2000b.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    94,788
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,899

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2221{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0160{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0225{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}73{txt}, {res}1973{txt}){col 67}={col 70}{res}    16.49
{txt}corr(u_i, Xb) = {res}0.0099{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,974} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0187135{col 43}{space 2} .0046532{col 54}{space 1}   -4.02{col 63}{space 3}0.000{col 71}{space 4}-.0278393{col 84}{space 3}-.0095878
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2} .0063355{col 43}{space 2} .0064866{col 54}{space 1}    0.98{col 63}{space 3}0.329{col 71}{space 4}-.0063858{col 84}{space 3} .0190568
{txt}{space 12}esmpdsi_up1_ifdam {c |}{col 31}{res}{space 2}-.0105934{col 43}{space 2} .0081509{col 54}{space 1}   -1.30{col 63}{space 3}0.194{col 71}{space 4}-.0265788{col 84}{space 3} .0053919
{txt}{space 13}esmpdsi_farupdam {c |}{col 31}{res}{space 2}  .013142{col 43}{space 2} .0058193{col 54}{space 1}    2.26{col 63}{space 3}0.024{col 71}{space 4} .0017293{col 84}{space 3} .0245546
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2} -.013522{col 43}{space 2} .0028225{col 54}{space 1}   -4.79{col 63}{space 3}0.000{col 71}{space 4}-.0190574{col 84}{space 3}-.0079866
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0146262{col 43}{space 2} .0027306{col 54}{space 1}   -5.36{col 63}{space 3}0.000{col 71}{space 4}-.0199814{col 84}{space 3} -.009271
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0002888{col 43}{space 2} .0013213{col 54}{space 1}   -0.22{col 63}{space 3}0.827{col 71}{space 4}-.0028801{col 84}{space 3} .0023026
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.1587393{col 43}{space 2} .0121652{col 54}{space 1}  -13.05{col 63}{space 3}0.000{col 71}{space 4}-.1825973{col 84}{space 3}-.1348813
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2}-.0134598{col 43}{space 2} .0122241{col 54}{space 1}   -1.10{col 63}{space 3}0.271{col 71}{space 4}-.0374334{col 84}{space 3} .0105137
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2000#NA  {c |}{col 31}{res}{space 2} .1808709{col 43}{space 2} .0150974{col 54}{space 1}   11.98{col 63}{space 3}0.000{col 71}{space 4} .1512625{col 84}{space 3} .2104794
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0029156{col 43}{space 2} .0017042{col 54}{space 1}    1.71{col 63}{space 3}0.087{col 71}{space 4}-.0004265{col 84}{space 3} .0062578
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.1722531{col 43}{space 2} .0126266{col 54}{space 1}  -13.64{col 63}{space 3}0.000{col 71}{space 4} -.197016{col 84}{space 3}-.1474901
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2} -.013423{col 43}{space 2} .0129768{col 54}{space 1}   -1.03{col 63}{space 3}0.301{col 71}{space 4}-.0388727{col 84}{space 3} .0120266
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0102364{col 43}{space 2} .0101878{col 54}{space 1}    1.00{col 63}{space 3}0.315{col 71}{space 4}-.0097437{col 84}{space 3} .0302164
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .1576527{col 43}{space 2} .0127786{col 54}{space 1}   12.34{col 63}{space 3}0.000{col 71}{space 4} .1325918{col 84}{space 3} .1827136
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0091385{col 43}{space 2} .0028579{col 54}{space 1}   -3.20{col 63}{space 3}0.001{col 71}{space 4}-.0147434{col 84}{space 3}-.0035337
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0157685{col 43}{space 2} .0022582{col 54}{space 1}    6.98{col 63}{space 3}0.000{col 71}{space 4} .0113399{col 84}{space 3} .0201972
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.1437865{col 43}{space 2} .0110924{col 54}{space 1}  -12.96{col 63}{space 3}0.000{col 71}{space 4}-.1655407{col 84}{space 3}-.1220324
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0162212{col 43}{space 2} .0104695{col 54}{space 1}    1.55{col 63}{space 3}0.121{col 71}{space 4}-.0043112{col 84}{space 3} .0367536
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.0041457{col 43}{space 2} .0099501{col 54}{space 1}   -0.42{col 63}{space 3}0.677{col 71}{space 4}-.0236595{col 84}{space 3} .0153682
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .1359003{col 43}{space 2} .0117892{col 54}{space 1}   11.53{col 63}{space 3}0.000{col 71}{space 4} .1127796{col 84}{space 3}  .159021
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0104408{col 43}{space 2} .0026745{col 54}{space 1}    3.90{col 63}{space 3}0.000{col 71}{space 4} .0051958{col 84}{space 3} .0156859
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0044709{col 43}{space 2} .0033911{col 54}{space 1}   -1.32{col 63}{space 3}0.188{col 71}{space 4}-.0111215{col 84}{space 3} .0021796
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.2369757{col 43}{space 2} .0154721{col 54}{space 1}  -15.32{col 63}{space 3}0.000{col 71}{space 4} -.267319{col 84}{space 3}-.2066324
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.0093515{col 43}{space 2} .0112574{col 54}{space 1}   -0.83{col 63}{space 3}0.406{col 71}{space 4}-.0314291{col 84}{space 3}  .012726
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.1747027{col 43}{space 2} .0144772{col 54}{space 1}  -12.07{col 63}{space 3}0.000{col 71}{space 4}-.2030949{col 84}{space 3}-.1463105
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.0010334{col 43}{space 2} .0085294{col 54}{space 1}   -0.12{col 63}{space 3}0.904{col 71}{space 4}-.0177611{col 84}{space 3} .0156943
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0305908{col 43}{space 2} .0063325{col 54}{space 1}   -4.83{col 63}{space 3}0.000{col 71}{space 4}-.0430098{col 84}{space 3}-.0181718
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2} .0001976{col 43}{space 2}  .003015{col 54}{space 1}    0.07{col 63}{space 3}0.948{col 71}{space 4}-.0057154{col 84}{space 3} .0061106
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2} -.205588{col 43}{space 2} .0141555{col 54}{space 1}  -14.52{col 63}{space 3}0.000{col 71}{space 4}-.2333493{col 84}{space 3}-.1778266
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0006141{col 43}{space 2} .0081335{col 54}{space 1}    0.08{col 63}{space 3}0.940{col 71}{space 4}-.0153371{col 84}{space 3} .0165652
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.1385425{col 43}{space 2} .0143091{col 54}{space 1}   -9.68{col 63}{space 3}0.000{col 71}{space 4} -.166605{col 84}{space 3}  -.11048
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2} .0186362{col 43}{space 2} .0087564{col 54}{space 1}    2.13{col 63}{space 3}0.033{col 71}{space 4} .0014635{col 84}{space 3} .0358089
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0278516{col 43}{space 2} .0055612{col 54}{space 1}   -5.01{col 63}{space 3}0.000{col 71}{space 4}-.0387581{col 84}{space 3}-.0169452
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0133367{col 43}{space 2} .0037906{col 54}{space 1}    3.52{col 63}{space 3}0.000{col 71}{space 4} .0059027{col 84}{space 3} .0207708
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.1758791{col 43}{space 2} .0139352{col 54}{space 1}  -12.62{col 63}{space 3}0.000{col 71}{space 4}-.2032084{col 84}{space 3}-.1485498
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0071524{col 43}{space 2} .0100905{col 54}{space 1}   -0.71{col 63}{space 3}0.479{col 71}{space 4}-.0269416{col 84}{space 3} .0126369
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0818345{col 43}{space 2} .0183725{col 54}{space 1}   -4.45{col 63}{space 3}0.000{col 71}{space 4} -.117866{col 84}{space 3}-.0458029
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2} .0575466{col 43}{space 2} .0091935{col 54}{space 1}    6.26{col 63}{space 3}0.000{col 71}{space 4} .0395166{col 84}{space 3} .0755765
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2} -.018332{col 43}{space 2} .0049608{col 54}{space 1}   -3.70{col 63}{space 3}0.000{col 71}{space 4} -.028061{col 84}{space 3} -.008603
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0087326{col 43}{space 2} .0052868{col 54}{space 1}    1.65{col 63}{space 3}0.099{col 71}{space 4}-.0016356{col 84}{space 3} .0191009
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2} -.182191{col 43}{space 2} .0135913{col 54}{space 1}  -13.40{col 63}{space 3}0.000{col 71}{space 4}-.2088459{col 84}{space 3}-.1555361
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0134654{col 43}{space 2} .0100726{col 54}{space 1}   -1.34{col 63}{space 3}0.181{col 71}{space 4}-.0332196{col 84}{space 3} .0062887
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.1852476{col 43}{space 2} .0249867{col 54}{space 1}   -7.41{col 63}{space 3}0.000{col 71}{space 4}-.2342507{col 84}{space 3}-.1362446
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0016374{col 43}{space 2} .0043859{col 54}{space 1}   -0.37{col 63}{space 3}0.709{col 71}{space 4}-.0102389{col 84}{space 3} .0069641
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0213882{col 43}{space 2} .0054146{col 54}{space 1}    3.95{col 63}{space 3}0.000{col 71}{space 4} .0107693{col 84}{space 3} .0320071
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2} -.083142{col 43}{space 2} .0092369{col 54}{space 1}   -9.00{col 63}{space 3}0.000{col 71}{space 4}-.1012572{col 84}{space 3}-.0650268
{txt}{space 21}2007#AU  {c |}{col 31}{res}{space 2}-.0009358{col 43}{space 2} .0062033{col 54}{space 1}   -0.15{col 63}{space 3}0.880{col 71}{space 4}-.0131015{col 84}{space 3}   .01123
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.0624771{col 43}{space 2} .0142192{col 54}{space 1}   -4.39{col 63}{space 3}0.000{col 71}{space 4}-.0903634{col 84}{space 3}-.0345909
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2}  .131862{col 43}{space 2} .0119419{col 54}{space 1}   11.04{col 63}{space 3}0.000{col 71}{space 4} .1084419{col 84}{space 3} .1552822
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0123323{col 43}{space 2} .0036655{col 54}{space 1}    3.36{col 63}{space 3}0.001{col 71}{space 4} .0051436{col 84}{space 3}  .019521
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0130394{col 43}{space 2} .0047714{col 54}{space 1}    2.73{col 63}{space 3}0.006{col 71}{space 4} .0036818{col 84}{space 3}  .022397
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.1153146{col 43}{space 2} .0098143{col 54}{space 1}  -11.75{col 63}{space 3}0.000{col 71}{space 4} -.134562{col 84}{space 3}-.0960671
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0794334{col 43}{space 2} .0176632{col 54}{space 1}   -4.50{col 63}{space 3}0.000{col 71}{space 4}-.1140739{col 84}{space 3}-.0447928
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2} .1248778{col 43}{space 2} .0142435{col 54}{space 1}    8.77{col 63}{space 3}0.000{col 71}{space 4}  .096944{col 84}{space 3} .1528116
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0163026{col 43}{space 2} .0039888{col 54}{space 1}    4.09{col 63}{space 3}0.000{col 71}{space 4} .0084799{col 84}{space 3} .0241254
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0136083{col 43}{space 2} .0043432{col 54}{space 1}    3.13{col 63}{space 3}0.002{col 71}{space 4} .0050906{col 84}{space 3} .0221261
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.1666876{col 43}{space 2} .0123039{col 54}{space 1}  -13.55{col 63}{space 3}0.000{col 71}{space 4}-.1908177{col 84}{space 3}-.1425575
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0236769{col 43}{space 2} .0122737{col 54}{space 1}   -1.93{col 63}{space 3}0.054{col 71}{space 4}-.0477477{col 84}{space 3} .0003938
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.1440108{col 43}{space 2} .0190496{col 54}{space 1}   -7.56{col 63}{space 3}0.000{col 71}{space 4}-.1813702{col 84}{space 3}-.1066515
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2} .0354025{col 43}{space 2} .0108495{col 54}{space 1}    3.26{col 63}{space 3}0.001{col 71}{space 4} .0141248{col 84}{space 3} .0566801
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2} .0065337{col 43}{space 2} .0042319{col 54}{space 1}    1.54{col 63}{space 3}0.123{col 71}{space 4}-.0017659{col 84}{space 3} .0148332
{txt}{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0638056{col 43}{space 2}  .007901{col 54}{space 1}    8.08{col 63}{space 3}0.000{col 71}{space 4} .0483104{col 84}{space 3} .0793007
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0753222{col 43}{space 2} .0188976{col 54}{space 1}    3.99{col 63}{space 3}0.000{col 71}{space 4} .0382608{col 84}{space 3} .1123836
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2} .2381625{col 43}{space 2} .0288526{col 54}{space 1}    8.25{col 63}{space 3}0.000{col 71}{space 4} .1815777{col 84}{space 3} .2947472
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2} .2615714{col 43}{space 2} .0185156{col 54}{space 1}   14.13{col 63}{space 3}0.000{col 71}{space 4} .2252591{col 84}{space 3} .2978836
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .1021606{col 43}{space 2} .0133996{col 54}{space 1}    7.62{col 63}{space 3}0.000{col 71}{space 4} .0758817{col 84}{space 3} .1284394
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2}  .039475{col 43}{space 2} .0064741{col 54}{space 1}    6.10{col 63}{space 3}0.000{col 71}{space 4} .0267781{col 84}{space 3} .0521719
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2}-.0461832{col 43}{space 2} .0062736{col 54}{space 1}   -7.36{col 63}{space 3}0.000{col 71}{space 4}-.0584868{col 84}{space 3}-.0338796
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0715719{col 43}{space 2} .0186331{col 54}{space 1}    3.84{col 63}{space 3}0.000{col 71}{space 4} .0350292{col 84}{space 3} .1081145
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2}  .095962{col 43}{space 2} .0222692{col 54}{space 1}    4.31{col 63}{space 3}0.000{col 71}{space 4} .0522883{col 84}{space 3} .1396357
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2} .1297221{col 43}{space 2} .0110855{col 54}{space 1}   11.70{col 63}{space 3}0.000{col 71}{space 4} .1079816{col 84}{space 3} .1514627
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0688478{col 43}{space 2} .0101131{col 54}{space 1}    6.81{col 63}{space 3}0.000{col 71}{space 4} .0490143{col 84}{space 3} .0886813
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5666504{col 43}{space 2} .0049579{col 54}{space 1}  114.29{col 63}{space 3}0.000{col 71}{space 4}  .556927{col 84}{space 3} .5763737
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .81803379
                      {txt}sigma_e {c |} {res} .13787677
                          {txt}rho {c |} {res} .97237678{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est3{txt} stored)

{com}. eststo: xtreg ihslights esmpdsi esmpdsi_ifdam esmpdsi_ifhydro esmpdsi_up1_ifdam esmpdsi_up1_ifhydro $weather i.year#i.continent if flare==0, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2000b.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2006.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2000b.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    94,788
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,899

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2220{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0145{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0199{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}74{txt}, {res}1973{txt}){col 67}={col 70}{res}    16.33
{txt}corr(u_i, Xb) = {res}0.0301{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,974} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 22}esmpdsi {c |}{col 31}{res}{space 2}-.0126108{col 43}{space 2}  .003465{col 54}{space 1}   -3.64{col 63}{space 3}0.000{col 71}{space 4}-.0194063{col 84}{space 3}-.0058153
{txt}{space 16}esmpdsi_ifdam {c |}{col 31}{res}{space 2}  .005457{col 43}{space 2} .0078911{col 54}{space 1}    0.69{col 63}{space 3}0.489{col 71}{space 4}-.0100189{col 84}{space 3} .0209328
{txt}{space 14}esmpdsi_ifhydro {c |}{col 31}{res}{space 2} .0078243{col 43}{space 2} .0114673{col 54}{space 1}    0.68{col 63}{space 3}0.495{col 71}{space 4}-.0146649{col 84}{space 3} .0303136
{txt}{space 12}esmpdsi_up1_ifdam {c |}{col 31}{res}{space 2}-.0101954{col 43}{space 2} .0089475{col 54}{space 1}   -1.14{col 63}{space 3}0.255{col 71}{space 4}-.0277428{col 84}{space 3} .0073521
{txt}{space 10}esmpdsi_up1_ifhydro {c |}{col 31}{res}{space 2}  .017217{col 43}{space 2} .0170552{col 54}{space 1}    1.01{col 63}{space 3}0.313{col 71}{space 4}-.0162311{col 84}{space 3} .0506651
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0135196{col 43}{space 2}  .002823{col 54}{space 1}   -4.79{col 63}{space 3}0.000{col 71}{space 4} -.019056{col 84}{space 3}-.0079832
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0145821{col 43}{space 2} .0027294{col 54}{space 1}   -5.34{col 63}{space 3}0.000{col 71}{space 4}-.0199349{col 84}{space 3}-.0092294
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0002978{col 43}{space 2} .0013215{col 54}{space 1}   -0.23{col 63}{space 3}0.822{col 71}{space 4}-.0028894{col 84}{space 3} .0022938
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.0751986{col 43}{space 2} .0091915{col 54}{space 1}   -8.18{col 63}{space 3}0.000{col 71}{space 4}-.0932246{col 84}{space 3}-.0571725
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2}-.0124793{col 43}{space 2} .0119667{col 54}{space 1}   -1.04{col 63}{space 3}0.297{col 71}{space 4} -.035948{col 84}{space 3} .0109894
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2000#NA  {c |}{col 31}{res}{space 2} .1808585{col 43}{space 2}  .015101{col 54}{space 1}   11.98{col 63}{space 3}0.000{col 71}{space 4} .1512429{col 84}{space 3} .2104742
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2001#AF  {c |}{col 31}{res}{space 2} .0032885{col 43}{space 2} .0016389{col 54}{space 1}    2.01{col 63}{space 3}0.045{col 71}{space 4} .0000744{col 84}{space 3} .0065026
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.0886773{col 43}{space 2} .0096081{col 54}{space 1}   -9.23{col 63}{space 3}0.000{col 71}{space 4}-.1075203{col 84}{space 3}-.0698342
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}-.0121651{col 43}{space 2} .0127542{col 54}{space 1}   -0.95{col 63}{space 3}0.340{col 71}{space 4}-.0371783{col 84}{space 3} .0128481
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0102228{col 43}{space 2} .0102058{col 54}{space 1}    1.00{col 63}{space 3}0.317{col 71}{space 4}-.0097925{col 84}{space 3} .0302381
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .1575237{col 43}{space 2} .0127913{col 54}{space 1}   12.31{col 63}{space 3}0.000{col 71}{space 4} .1324379{col 84}{space 3} .1826096
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0092043{col 43}{space 2} .0028519{col 54}{space 1}   -3.23{col 63}{space 3}0.001{col 71}{space 4}-.0147973{col 84}{space 3}-.0036114
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0163234{col 43}{space 2} .0022079{col 54}{space 1}    7.39{col 63}{space 3}0.000{col 71}{space 4} .0119933{col 84}{space 3} .0206535
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.0602779{col 43}{space 2} .0074557{col 54}{space 1}   -8.08{col 63}{space 3}0.000{col 71}{space 4}-.0748998{col 84}{space 3} -.045656
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0161552{col 43}{space 2} .0098749{col 54}{space 1}    1.64{col 63}{space 3}0.102{col 71}{space 4}-.0032112{col 84}{space 3} .0355216
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.0042229{col 43}{space 2} .0099638{col 54}{space 1}   -0.42{col 63}{space 3}0.672{col 71}{space 4}-.0237635{col 84}{space 3} .0153177
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .1358453{col 43}{space 2} .0117944{col 54}{space 1}   11.52{col 63}{space 3}0.000{col 71}{space 4} .1127144{col 84}{space 3} .1589762
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0106307{col 43}{space 2} .0026694{col 54}{space 1}    3.98{col 63}{space 3}0.000{col 71}{space 4} .0053956{col 84}{space 3} .0158658
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0039663{col 43}{space 2} .0033251{col 54}{space 1}   -1.19{col 63}{space 3}0.233{col 71}{space 4}-.0104874{col 84}{space 3} .0025548
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.1535457{col 43}{space 2} .0106463{col 54}{space 1}  -14.42{col 63}{space 3}0.000{col 71}{space 4}-.1744249{col 84}{space 3}-.1326665
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.0077617{col 43}{space 2} .0109071{col 54}{space 1}   -0.71{col 63}{space 3}0.477{col 71}{space 4}-.0291524{col 84}{space 3} .0136289
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.1750159{col 43}{space 2} .0144575{col 54}{space 1}  -12.11{col 63}{space 3}0.000{col 71}{space 4}-.2033694{col 84}{space 3}-.1466624
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2}-.0010921{col 43}{space 2} .0085391{col 54}{space 1}   -0.13{col 63}{space 3}0.898{col 71}{space 4}-.0178387{col 84}{space 3} .0156546
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0303925{col 43}{space 2} .0063558{col 54}{space 1}   -4.78{col 63}{space 3}0.000{col 71}{space 4}-.0428572{col 84}{space 3}-.0179277
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2} .0007582{col 43}{space 2} .0029319{col 54}{space 1}    0.26{col 63}{space 3}0.796{col 71}{space 4}-.0049918{col 84}{space 3} .0065082
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.1222542{col 43}{space 2} .0094386{col 54}{space 1}  -12.95{col 63}{space 3}0.000{col 71}{space 4}-.1407648{col 84}{space 3}-.1037436
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0022027{col 43}{space 2} .0076952{col 54}{space 1}    0.29{col 63}{space 3}0.775{col 71}{space 4}-.0128889{col 84}{space 3} .0172942
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.1388775{col 43}{space 2} .0143052{col 54}{space 1}   -9.71{col 63}{space 3}0.000{col 71}{space 4}-.1669325{col 84}{space 3}-.1108226
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2} .0183153{col 43}{space 2} .0087615{col 54}{space 1}    2.09{col 63}{space 3}0.037{col 71}{space 4} .0011325{col 84}{space 3}  .035498
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0274683{col 43}{space 2}  .005561{col 54}{space 1}   -4.94{col 63}{space 3}0.000{col 71}{space 4}-.0383744{col 84}{space 3}-.0165622
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2}  .013657{col 43}{space 2} .0037679{col 54}{space 1}    3.62{col 63}{space 3}0.000{col 71}{space 4} .0062675{col 84}{space 3} .0210466
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.0925969{col 43}{space 2} .0088994{col 54}{space 1}  -10.40{col 63}{space 3}0.000{col 71}{space 4}-.1100502{col 84}{space 3}-.0751436
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0062561{col 43}{space 2} .0095715{col 54}{space 1}   -0.65{col 63}{space 3}0.513{col 71}{space 4}-.0250275{col 84}{space 3} .0125152
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0821958{col 43}{space 2} .0183561{col 54}{space 1}   -4.48{col 63}{space 3}0.000{col 71}{space 4}-.1181951{col 84}{space 3}-.0461965
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2} .0571374{col 43}{space 2} .0092038{col 54}{space 1}    6.21{col 63}{space 3}0.000{col 71}{space 4} .0390871{col 84}{space 3} .0751876
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0180284{col 43}{space 2} .0049453{col 54}{space 1}   -3.65{col 63}{space 3}0.000{col 71}{space 4} -.027727{col 84}{space 3}-.0083298
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0093207{col 43}{space 2} .0052505{col 54}{space 1}    1.78{col 63}{space 3}0.076{col 71}{space 4}-.0009765{col 84}{space 3} .0196179
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.0991403{col 43}{space 2} .0095119{col 54}{space 1}  -10.42{col 63}{space 3}0.000{col 71}{space 4}-.1177947{col 84}{space 3} -.080486
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0124214{col 43}{space 2}  .009583{col 54}{space 1}   -1.30{col 63}{space 3}0.195{col 71}{space 4}-.0312154{col 84}{space 3} .0063725
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.1856444{col 43}{space 2} .0249687{col 54}{space 1}   -7.44{col 63}{space 3}0.000{col 71}{space 4}-.2346123{col 84}{space 3}-.1366766
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0010588{col 43}{space 2} .0044456{col 54}{space 1}   -0.24{col 63}{space 3}0.812{col 71}{space 4}-.0097773{col 84}{space 3} .0076597
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0221572{col 43}{space 2} .0053844{col 54}{space 1}    4.12{col 63}{space 3}0.000{col 71}{space 4} .0115974{col 84}{space 3} .0327169
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#AU  {c |}{col 31}{res}{space 2} .0006204{col 43}{space 2} .0060024{col 54}{space 1}    0.10{col 63}{space 3}0.918{col 71}{space 4}-.0111514{col 84}{space 3} .0123922
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.0624737{col 43}{space 2} .0142057{col 54}{space 1}   -4.40{col 63}{space 3}0.000{col 71}{space 4}-.0903334{col 84}{space 3} -.034614
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2} .1317447{col 43}{space 2} .0119457{col 54}{space 1}   11.03{col 63}{space 3}0.000{col 71}{space 4} .1083172{col 84}{space 3} .1551722
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0125781{col 43}{space 2} .0036608{col 54}{space 1}    3.44{col 63}{space 3}0.001{col 71}{space 4} .0053987{col 84}{space 3} .0197575
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2}  .013756{col 43}{space 2} .0047192{col 54}{space 1}    2.91{col 63}{space 3}0.004{col 71}{space 4} .0045009{col 84}{space 3} .0230112
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2} -.032225{col 43}{space 2} .0058417{col 54}{space 1}   -5.52{col 63}{space 3}0.000{col 71}{space 4}-.0436816{col 84}{space 3}-.0207684
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0791934{col 43}{space 2} .0176662{col 54}{space 1}   -4.48{col 63}{space 3}0.000{col 71}{space 4}-.1138398{col 84}{space 3} -.044547
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2} .1246563{col 43}{space 2}  .014246{col 54}{space 1}    8.75{col 63}{space 3}0.000{col 71}{space 4} .0967174{col 84}{space 3} .1525951
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0166732{col 43}{space 2} .0040389{col 54}{space 1}    4.13{col 63}{space 3}0.000{col 71}{space 4} .0087522{col 84}{space 3} .0245942
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0141868{col 43}{space 2} .0043324{col 54}{space 1}    3.27{col 63}{space 3}0.001{col 71}{space 4} .0056902{col 84}{space 3} .0226835
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2} -.083627{col 43}{space 2} .0097177{col 54}{space 1}   -8.61{col 63}{space 3}0.000{col 71}{space 4}-.1026851{col 84}{space 3}-.0645689
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0224194{col 43}{space 2} .0122287{col 54}{space 1}   -1.83{col 63}{space 3}0.067{col 71}{space 4}-.0464019{col 84}{space 3}  .001563
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.1438874{col 43}{space 2} .0190633{col 54}{space 1}   -7.55{col 63}{space 3}0.000{col 71}{space 4}-.1812737{col 84}{space 3} -.106501
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2}  .035088{col 43}{space 2} .0108554{col 54}{space 1}    3.23{col 63}{space 3}0.001{col 71}{space 4} .0137987{col 84}{space 3} .0563772
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2} .0070156{col 43}{space 2} .0042856{col 54}{space 1}    1.64{col 63}{space 3}0.102{col 71}{space 4}-.0013892{col 84}{space 3} .0154205
{txt}{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0643423{col 43}{space 2} .0078727{col 54}{space 1}    8.17{col 63}{space 3}0.000{col 71}{space 4} .0489025{col 84}{space 3}  .079782
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2} .0831932{col 43}{space 2} .0092282{col 54}{space 1}    9.02{col 63}{space 3}0.000{col 71}{space 4} .0650952{col 84}{space 3} .1012912
{txt}{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0770503{col 43}{space 2} .0188544{col 54}{space 1}    4.09{col 63}{space 3}0.000{col 71}{space 4} .0400737{col 84}{space 3} .1140269
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2} .2376057{col 43}{space 2} .0289134{col 54}{space 1}    8.22{col 63}{space 3}0.000{col 71}{space 4} .1809016{col 84}{space 3} .2943098
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2} .2611834{col 43}{space 2} .0185189{col 54}{space 1}   14.10{col 63}{space 3}0.000{col 71}{space 4} .2248648{col 84}{space 3}  .297502
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .1023356{col 43}{space 2} .0133863{col 54}{space 1}    7.64{col 63}{space 3}0.000{col 71}{space 4} .0760827{col 84}{space 3} .1285884
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0400845{col 43}{space 2}  .006468{col 54}{space 1}    6.20{col 63}{space 3}0.000{col 71}{space 4} .0273996{col 84}{space 3} .0527694
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2} .0369995{col 43}{space 2} .0074939{col 54}{space 1}    4.94{col 63}{space 3}0.000{col 71}{space 4} .0223027{col 84}{space 3} .0516964
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0729677{col 43}{space 2} .0184438{col 54}{space 1}    3.96{col 63}{space 3}0.000{col 71}{space 4} .0367964{col 84}{space 3}  .109139
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} .0953409{col 43}{space 2} .0222862{col 54}{space 1}    4.28{col 63}{space 3}0.000{col 71}{space 4}  .051634{col 84}{space 3} .1390478
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2}  .129714{col 43}{space 2} .0110919{col 54}{space 1}   11.69{col 63}{space 3}0.000{col 71}{space 4} .1079609{col 84}{space 3} .1514671
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0689873{col 43}{space 2} .0101075{col 54}{space 1}    6.83{col 63}{space 3}0.000{col 71}{space 4} .0491649{col 84}{space 3} .0888097
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5368542{col 43}{space 2}  .003935{col 54}{space 1}  136.43{col 63}{space 3}0.000{col 71}{space 4}  .529137{col 84}{space 3} .5445714
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .81945033
                      {txt}sigma_e {c |} {res} .13788287
                          {txt}rho {c |} {res}  .9724672{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est4{txt} stored)

{com}. 
. 
. esttab using "../output/tableD4_upstream_dams_pdsi.rtf", replace se r2(3) sca("N_clust N subbasins" "N_g N cells") ///
>    nomti obslast label star( + .10 * .05 ** .01 ) onecell drop(*dev_* *.year* _cons) /*
> */ title("Table D4. Effects of upstream dams on impacts of drought using sc-PDSI") /*
> */ addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects. Restricted to areas with at least one upstream sub-basin.")
{res}{txt}(output written to {browse  `"../output/tableD4_upstream_dams_pdsi.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. **# Table 6. Upstream drought effects
. 
. 
. gen up_esmdsi = upstream_drought<-.9 if !no_upstream
{txt}(428,845 missing values generated)

{com}. label var up_esmdsi "Upstream drought"
{txt}
{com}. 
. gen up_ifdam=(upstream_dams>0)
{txt}
{com}. gen esmdsi_upifdam=esmdsi*up_ifdam
{txt}(17,431 missing values generated)

{com}. gen up_dam_drought=up_esmdsi*up_ifdam
{txt}(428,845 missing values generated)

{com}. gen uphydro_drought=up_esmdsi*(upstream_hydro>0)
{txt}(428,845 missing values generated)

{com}. 
. label var esmdsi_upifdam "Upstream dam*local drought"
{txt}
{com}. label var up_dam_drought "Upstream dam-upstream drought"
{txt}
{com}. label var uphydro_drought "Upstream hydro-upstream drought"
{txt}
{com}. 
. eststo: xtreg ihslights esmdsi up_esmdsi $weather i.year#i.continent if flare==0 & !no_upstream, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2010.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2007.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2006.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2009.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    95,652
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,971

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2196{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0345{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0385{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}71{txt}, {res}1983{txt}){col 67}={col 70}{res}    17.59
{txt}corr(u_i, Xb) = {res}0.0583{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,984} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0073944{col 43}{space 2} .0029306{col 54}{space 1}   -2.52{col 63}{space 3}0.012{col 71}{space 4}-.0131419{col 84}{space 3}-.0016469
{txt}{space 20}up_esmdsi {c |}{col 31}{res}{space 2}-.0156574{col 43}{space 2} .0039608{col 54}{space 1}   -3.95{col 63}{space 3}0.000{col 71}{space 4}-.0234251{col 84}{space 3}-.0078897
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0121705{col 43}{space 2} .0027376{col 54}{space 1}   -4.45{col 63}{space 3}0.000{col 71}{space 4}-.0175394{col 84}{space 3}-.0068016
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0132675{col 43}{space 2} .0027443{col 54}{space 1}   -4.83{col 63}{space 3}0.000{col 71}{space 4}-.0186494{col 84}{space 3}-.0078855
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}  .000048{col 43}{space 2} .0013227{col 54}{space 1}    0.04{col 63}{space 3}0.971{col 71}{space 4}-.0025459{col 84}{space 3}  .002642
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.1627688{col 43}{space 2} .0123843{col 54}{space 1}  -13.14{col 63}{space 3}0.000{col 71}{space 4}-.1870563{col 84}{space 3}-.1384813
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2}-.0121257{col 43}{space 2} .0117692{col 54}{space 1}   -1.03{col 63}{space 3}0.303{col 71}{space 4}-.0352071{col 84}{space 3} .0109556
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2} .0626036{col 43}{space 2} .0139975{col 54}{space 1}    4.47{col 63}{space 3}0.000{col 71}{space 4} .0351523{col 84}{space 3} .0900549
{txt}{space 21}2000#NA  {c |}{col 31}{res}{space 2} .1834182{col 43}{space 2} .0152291{col 54}{space 1}   12.04{col 63}{space 3}0.000{col 71}{space 4} .1535516{col 84}{space 3} .2132848
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}-.0079502{col 43}{space 2} .0044335{col 54}{space 1}   -1.79{col 63}{space 3}0.073{col 71}{space 4} -.016645{col 84}{space 3} .0007446
{txt}{space 21}2001#AF  {c |}{col 31}{res}{space 2}-.0002676{col 43}{space 2} .0025141{col 54}{space 1}   -0.11{col 63}{space 3}0.915{col 71}{space 4}-.0051982{col 84}{space 3}  .004663
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.1758244{col 43}{space 2} .0128393{col 54}{space 1}  -13.69{col 63}{space 3}0.000{col 71}{space 4}-.2010043{col 84}{space 3}-.1506445
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}-.0122383{col 43}{space 2} .0127077{col 54}{space 1}   -0.96{col 63}{space 3}0.336{col 71}{space 4}-.0371601{col 84}{space 3} .0126836
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} .0726672{col 43}{space 2} .0139996{col 54}{space 1}    5.19{col 63}{space 3}0.000{col 71}{space 4} .0452117{col 84}{space 3} .1001226
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2}  .160004{col 43}{space 2}   .01286{col 54}{space 1}   12.44{col 63}{space 3}0.000{col 71}{space 4} .1347834{col 84}{space 3} .1852246
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0167821{col 43}{space 2} .0035061{col 54}{space 1}   -4.79{col 63}{space 3}0.000{col 71}{space 4}-.0236581{col 84}{space 3} -.009906
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2} .0182009{col 43}{space 2} .0034755{col 54}{space 1}    5.24{col 63}{space 3}0.000{col 71}{space 4} .0113848{col 84}{space 3}  .025017
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}  -.14856{col 43}{space 2} .0114081{col 54}{space 1}  -13.02{col 63}{space 3}0.000{col 71}{space 4} -.170933{col 84}{space 3} -.126187
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0252647{col 43}{space 2} .0109425{col 54}{space 1}    2.31{col 63}{space 3}0.021{col 71}{space 4} .0038047{col 84}{space 3} .0467246
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2} .0640809{col 43}{space 2} .0117826{col 54}{space 1}    5.44{col 63}{space 3}0.000{col 71}{space 4} .0409732{col 84}{space 3} .0871885
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2} .1396152{col 43}{space 2} .0115714{col 54}{space 1}   12.07{col 63}{space 3}0.000{col 71}{space 4} .1169219{col 84}{space 3} .1623085
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0022473{col 43}{space 2} .0035557{col 54}{space 1}    0.63{col 63}{space 3}0.527{col 71}{space 4} -.004726{col 84}{space 3} .0092207
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0097283{col 43}{space 2} .0036889{col 54}{space 1}   -2.64{col 63}{space 3}0.008{col 71}{space 4}-.0169627{col 84}{space 3}-.0024938
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2}-.2408221{col 43}{space 2} .0157455{col 54}{space 1}  -15.29{col 63}{space 3}0.000{col 71}{space 4}-.2717016{col 84}{space 3}-.2099426
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.0099193{col 43}{space 2} .0112243{col 54}{space 1}   -0.88{col 63}{space 3}0.377{col 71}{space 4} -.031932{col 84}{space 3} .0120934
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.1077381{col 43}{space 2} .0107862{col 54}{space 1}   -9.99{col 63}{space 3}0.000{col 71}{space 4}-.1288917{col 84}{space 3}-.0865846
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2} .0004795{col 43}{space 2}  .008444{col 54}{space 1}    0.06{col 63}{space 3}0.955{col 71}{space 4}-.0160805{col 84}{space 3} .0170394
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0385584{col 43}{space 2} .0053991{col 54}{space 1}   -7.14{col 63}{space 3}0.000{col 71}{space 4}-.0491469{col 84}{space 3}  -.02797
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2}-.0057556{col 43}{space 2} .0037669{col 54}{space 1}   -1.53{col 63}{space 3}0.127{col 71}{space 4} -.013143{col 84}{space 3} .0016319
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.2109594{col 43}{space 2} .0145379{col 54}{space 1}  -14.51{col 63}{space 3}0.000{col 71}{space 4}-.2394705{col 84}{space 3}-.1824483
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2} .0088709{col 43}{space 2} .0087182{col 54}{space 1}    1.02{col 63}{space 3}0.309{col 71}{space 4}-.0082269{col 84}{space 3} .0259687
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.0745985{col 43}{space 2} .0099069{col 54}{space 1}   -7.53{col 63}{space 3}0.000{col 71}{space 4}-.0940275{col 84}{space 3}-.0551695
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2} .0184561{col 43}{space 2} .0087871{col 54}{space 1}    2.10{col 63}{space 3}0.036{col 71}{space 4} .0012231{col 84}{space 3} .0356891
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0372147{col 43}{space 2} .0048361{col 54}{space 1}   -7.70{col 63}{space 3}0.000{col 71}{space 4}-.0466991{col 84}{space 3}-.0277303
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0098961{col 43}{space 2} .0046398{col 54}{space 1}    2.13{col 63}{space 3}0.033{col 71}{space 4} .0007967{col 84}{space 3} .0189956
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.1823213{col 43}{space 2} .0143356{col 54}{space 1}  -12.72{col 63}{space 3}0.000{col 71}{space 4}-.2104357{col 84}{space 3} -.154207
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2} -.008555{col 43}{space 2} .0095624{col 54}{space 1}   -0.89{col 63}{space 3}0.371{col 71}{space 4}-.0273085{col 84}{space 3} .0101985
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.0184943{col 43}{space 2} .0091789{col 54}{space 1}   -2.01{col 63}{space 3}0.044{col 71}{space 4}-.0364956{col 84}{space 3} -.000493
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2} .0578918{col 43}{space 2} .0091951{col 54}{space 1}    6.30{col 63}{space 3}0.000{col 71}{space 4} .0398588{col 84}{space 3} .0759248
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0255601{col 43}{space 2} .0043045{col 54}{space 1}   -5.94{col 63}{space 3}0.000{col 71}{space 4} -.034002{col 84}{space 3}-.0171183
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0076263{col 43}{space 2} .0061962{col 54}{space 1}    1.23{col 63}{space 3}0.219{col 71}{space 4}-.0045253{col 84}{space 3}  .019778
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.1878226{col 43}{space 2} .0138589{col 54}{space 1}  -13.55{col 63}{space 3}0.000{col 71}{space 4}-.2150022{col 84}{space 3}-.1606431
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0149601{col 43}{space 2} .0094789{col 54}{space 1}   -1.58{col 63}{space 3}0.115{col 71}{space 4}-.0335497{col 84}{space 3} .0036296
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.1199755{col 43}{space 2} .0144353{col 54}{space 1}   -8.31{col 63}{space 3}0.000{col 71}{space 4}-.1482854{col 84}{space 3}-.0916656
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0102234{col 43}{space 2}  .003548{col 54}{space 1}   -2.88{col 63}{space 3}0.004{col 71}{space 4}-.0171817{col 84}{space 3}-.0032652
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0238603{col 43}{space 2} .0069752{col 54}{space 1}    3.42{col 63}{space 3}0.001{col 71}{space 4} .0101808{col 84}{space 3} .0375398
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}-.0891398{col 43}{space 2} .0095092{col 54}{space 1}   -9.37{col 63}{space 3}0.000{col 71}{space 4}-.1077889{col 84}{space 3}-.0704908
{txt}{space 21}2007#AU  {c |}{col 31}{res}{space 2} 8.14e-06{col 43}{space 2} .0060139{col 54}{space 1}    0.00{col 63}{space 3}0.999{col 71}{space 4}-.0117861{col 84}{space 3} .0118024
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2007#NA  {c |}{col 31}{res}{space 2} .1347288{col 43}{space 2} .0119278{col 54}{space 1}   11.30{col 63}{space 3}0.000{col 71}{space 4} .1113364{col 84}{space 3} .1581211
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0073665{col 43}{space 2} .0037875{col 54}{space 1}    1.94{col 63}{space 3}0.052{col 71}{space 4}-.0000615{col 84}{space 3} .0147944
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0164707{col 43}{space 2} .0062284{col 54}{space 1}    2.64{col 63}{space 3}0.008{col 71}{space 4} .0042559{col 84}{space 3} .0286855
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.1193354{col 43}{space 2} .0099646{col 54}{space 1}  -11.98{col 63}{space 3}0.000{col 71}{space 4}-.1388777{col 84}{space 3}-.0997931
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.0130746{col 43}{space 2} .0078307{col 54}{space 1}   -1.67{col 63}{space 3}0.095{col 71}{space 4}-.0284319{col 84}{space 3} .0022827
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2} .1258933{col 43}{space 2}  .014221{col 54}{space 1}    8.85{col 63}{space 3}0.000{col 71}{space 4} .0980038{col 84}{space 3} .1537829
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2} .0091712{col 43}{space 2} .0040263{col 54}{space 1}    2.28{col 63}{space 3}0.023{col 71}{space 4} .0012749{col 84}{space 3} .0170674
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0109001{col 43}{space 2} .0069921{col 54}{space 1}    1.56{col 63}{space 3}0.119{col 71}{space 4}-.0028126{col 84}{space 3} .0246128
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2} -.168499{col 43}{space 2} .0123433{col 54}{space 1}  -13.65{col 63}{space 3}0.000{col 71}{space 4}-.1927062{col 84}{space 3}-.1442919
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0230708{col 43}{space 2} .0122697{col 54}{space 1}   -1.88{col 63}{space 3}0.060{col 71}{space 4}-.0471336{col 84}{space 3} .0009921
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.0769705{col 43}{space 2} .0099336{col 54}{space 1}   -7.75{col 63}{space 3}0.000{col 71}{space 4} -.096452{col 84}{space 3}-.0574891
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2} .0364112{col 43}{space 2} .0108987{col 54}{space 1}    3.34{col 63}{space 3}0.001{col 71}{space 4} .0150371{col 84}{space 3} .0577854
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0728717{col 43}{space 2} .0096124{col 54}{space 1}    7.58{col 63}{space 3}0.000{col 71}{space 4} .0540203{col 84}{space 3} .0917231
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0765702{col 43}{space 2} .0188199{col 54}{space 1}    4.07{col 63}{space 3}0.000{col 71}{space 4} .0396614{col 84}{space 3}  .113479
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2} .3032613{col 43}{space 2}  .027448{col 54}{space 1}   11.05{col 63}{space 3}0.000{col 71}{space 4} .2494315{col 84}{space 3} .3570912
{txt}{space 21}2010#NA  {c |}{col 31}{res}{space 2} .2624246{col 43}{space 2} .0184959{col 54}{space 1}   14.19{col 63}{space 3}0.000{col 71}{space 4} .2261511{col 84}{space 3}  .298698
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2} .0934276{col 43}{space 2} .0138086{col 54}{space 1}    6.77{col 63}{space 3}0.000{col 71}{space 4} .0663467{col 84}{space 3} .1205085
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0450612{col 43}{space 2} .0081979{col 54}{space 1}    5.50{col 63}{space 3}0.000{col 71}{space 4} .0289837{col 84}{space 3} .0611386
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2}-.0451173{col 43}{space 2} .0062242{col 54}{space 1}   -7.25{col 63}{space 3}0.000{col 71}{space 4}-.0573239{col 84}{space 3}-.0329107
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0725107{col 43}{space 2}  .018467{col 54}{space 1}    3.93{col 63}{space 3}0.000{col 71}{space 4}  .036294{col 84}{space 3} .1087274
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} .1598561{col 43}{space 2}  .019231{col 54}{space 1}    8.31{col 63}{space 3}0.000{col 71}{space 4} .1221409{col 84}{space 3} .1975712
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2}  .132865{col 43}{space 2} .0111023{col 54}{space 1}   11.97{col 63}{space 3}0.000{col 71}{space 4} .1110916{col 84}{space 3} .1546384
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0607765{col 43}{space 2} .0103053{col 54}{space 1}    5.90{col 63}{space 3}0.000{col 71}{space 4} .0405661{col 84}{space 3}  .080987
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5689419{col 43}{space 2} .0047535{col 54}{space 1}  119.69{col 63}{space 3}0.000{col 71}{space 4} .5596194{col 84}{space 3} .5782643
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .83118403
                      {txt}sigma_e {c |} {res} .13888773
                          {txt}rho {c |} {res} .97283726{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. test esmdsi=up_esmdsi

{p 0 7}{space 1}{text:( 1)}{space 1} {res}esmdsi - up_esmdsi = 0{p_end}

{txt}       F(  1,  1983) ={res}    2.11
{txt}{col 13}Prob > F ={res}    0.1469
{txt}
{com}. 
. eststo: xtreg ihslights esmdsi up_esmdsi esmdsi_ifdam esmdsi_ifhydro up_dam_drought uphydro_drought $weather i.year#i.continent if flare==0 & !no_upstream, fe vce(cluster conpfaf4)
{res}{txt}{p 0 6 2}note: {bf:2010.year#2.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2010.year#4.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2009.year#6.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2006.year#5.continent} omitted because of collinearity with the absorbed variable.{p_end}
{txt}{p 0 6 2}note: {bf:2008.year#3.continent} omitted because of collinearity with the absorbed variable.{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    95,652
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}     7,971

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2206{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0024{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0000{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}75{txt}, {res}1983{txt}){col 67}={col 70}{res}    17.17
{txt}corr(u_i, Xb) = {res}-0.1778{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 95:(Std. err. adjusted for {res:1,984} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0135437{col 43}{space 2} .0030022{col 54}{space 1}   -4.51{col 63}{space 3}0.000{col 71}{space 4}-.0194315{col 84}{space 3}-.0076559
{txt}{space 20}up_esmdsi {c |}{col 31}{res}{space 2}-.0178769{col 43}{space 2} .0042686{col 54}{space 1}   -4.19{col 63}{space 3}0.000{col 71}{space 4}-.0262484{col 84}{space 3}-.0095055
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0230408{col 43}{space 2} .0058987{col 54}{space 1}    3.91{col 63}{space 3}0.000{col 71}{space 4} .0114724{col 84}{space 3} .0346091
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0157706{col 43}{space 2} .0104781{col 54}{space 1}   -1.51{col 63}{space 3}0.132{col 71}{space 4}-.0363198{col 84}{space 3} .0047785
{txt}{space 15}up_dam_drought {c |}{col 31}{res}{space 2} .0214971{col 43}{space 2} .0082252{col 54}{space 1}    2.61{col 63}{space 3}0.009{col 71}{space 4} .0053661{col 84}{space 3} .0376281
{txt}{space 14}uphydro_drought {c |}{col 31}{res}{space 2}-.0282046{col 43}{space 2} .0105359{col 54}{space 1}   -2.68{col 63}{space 3}0.007{col 71}{space 4}-.0488672{col 84}{space 3} -.007542
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0122486{col 43}{space 2} .0027308{col 54}{space 1}   -4.49{col 63}{space 3}0.000{col 71}{space 4}-.0176042{col 84}{space 3}-.0068931
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0132197{col 43}{space 2} .0027584{col 54}{space 1}   -4.79{col 63}{space 3}0.000{col 71}{space 4}-.0186294{col 84}{space 3}  -.00781
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2} .0000801{col 43}{space 2} .0013235{col 54}{space 1}    0.06{col 63}{space 3}0.952{col 71}{space 4}-.0025155{col 84}{space 3} .0026756
{txt}{space 29} {c |}
{space 15}year#continent {c |}
{space 21}2000#AS  {c |}{col 31}{res}{space 2}-.1643436{col 43}{space 2} .0124036{col 54}{space 1}  -13.25{col 63}{space 3}0.000{col 71}{space 4}-.1886691{col 84}{space 3}-.1400182
{txt}{space 21}2000#AU  {c |}{col 31}{res}{space 2}-.0112708{col 43}{space 2} .0118209{col 54}{space 1}   -0.95{col 63}{space 3}0.340{col 71}{space 4}-.0344535{col 84}{space 3}  .011912
{txt}{space 21}2000#EU  {c |}{col 31}{res}{space 2}-.2425471{col 43}{space 2} .0283892{col 54}{space 1}   -8.54{col 63}{space 3}0.000{col 71}{space 4} -.298223{col 84}{space 3}-.1868713
{txt}{space 21}2000#NA  {c |}{col 31}{res}{space 2} .1829583{col 43}{space 2} .0152061{col 54}{space 1}   12.03{col 63}{space 3}0.000{col 71}{space 4} .1531367{col 84}{space 3} .2127799
{txt}{space 21}2000#SA  {c |}{col 31}{res}{space 2}-.0084835{col 43}{space 2} .0045833{col 54}{space 1}   -1.85{col 63}{space 3}0.064{col 71}{space 4} -.017472{col 84}{space 3} .0005051
{txt}{space 21}2001#AF  {c |}{col 31}{res}{space 2}-.0012759{col 43}{space 2} .0026817{col 54}{space 1}   -0.48{col 63}{space 3}0.634{col 71}{space 4}-.0065351{col 84}{space 3} .0039834
{txt}{space 21}2001#AS  {c |}{col 31}{res}{space 2}-.1773443{col 43}{space 2} .0129396{col 54}{space 1}  -13.71{col 63}{space 3}0.000{col 71}{space 4} -.202721{col 84}{space 3}-.1519676
{txt}{space 21}2001#AU  {c |}{col 31}{res}{space 2}-.0115157{col 43}{space 2} .0127291{col 54}{space 1}   -0.90{col 63}{space 3}0.366{col 71}{space 4}-.0364795{col 84}{space 3} .0134482
{txt}{space 21}2001#EU  {c |}{col 31}{res}{space 2} -.232971{col 43}{space 2} .0263208{col 54}{space 1}   -8.85{col 63}{space 3}0.000{col 71}{space 4}-.2845904{col 84}{space 3}-.1813516
{txt}{space 21}2001#NA  {c |}{col 31}{res}{space 2} .1606927{col 43}{space 2} .0127445{col 54}{space 1}   12.61{col 63}{space 3}0.000{col 71}{space 4} .1356986{col 84}{space 3} .1856867
{txt}{space 21}2001#SA  {c |}{col 31}{res}{space 2}-.0177252{col 43}{space 2} .0036894{col 54}{space 1}   -4.80{col 63}{space 3}0.000{col 71}{space 4}-.0249608{col 84}{space 3}-.0104896
{txt}{space 21}2002#AF  {c |}{col 31}{res}{space 2}  .014884{col 43}{space 2} .0036646{col 54}{space 1}    4.06{col 63}{space 3}0.000{col 71}{space 4} .0076971{col 84}{space 3} .0220709
{txt}{space 21}2002#AS  {c |}{col 31}{res}{space 2}-.1504298{col 43}{space 2} .0114069{col 54}{space 1}  -13.19{col 63}{space 3}0.000{col 71}{space 4}-.1728005{col 84}{space 3}-.1280591
{txt}{space 21}2002#AU  {c |}{col 31}{res}{space 2} .0305401{col 43}{space 2} .0112505{col 54}{space 1}    2.71{col 63}{space 3}0.007{col 71}{space 4} .0084761{col 84}{space 3} .0526041
{txt}{space 21}2002#EU  {c |}{col 31}{res}{space 2}-.2394778{col 43}{space 2} .0245913{col 54}{space 1}   -9.74{col 63}{space 3}0.000{col 71}{space 4}-.2877053{col 84}{space 3}-.1912504
{txt}{space 21}2002#NA  {c |}{col 31}{res}{space 2}  .139718{col 43}{space 2} .0115954{col 54}{space 1}   12.05{col 63}{space 3}0.000{col 71}{space 4} .1169775{col 84}{space 3} .1624585
{txt}{space 21}2002#SA  {c |}{col 31}{res}{space 2} .0020239{col 43}{space 2} .0037036{col 54}{space 1}    0.55{col 63}{space 3}0.585{col 71}{space 4}-.0052394{col 84}{space 3} .0092872
{txt}{space 21}2003#AF  {c |}{col 31}{res}{space 2}-.0128248{col 43}{space 2} .0040124{col 54}{space 1}   -3.20{col 63}{space 3}0.001{col 71}{space 4}-.0206938{col 84}{space 3}-.0049558
{txt}{space 21}2003#AS  {c |}{col 31}{res}{space 2} -.240956{col 43}{space 2} .0158031{col 54}{space 1}  -15.25{col 63}{space 3}0.000{col 71}{space 4}-.2719484{col 84}{space 3}-.2099636
{txt}{space 21}2003#AU  {c |}{col 31}{res}{space 2}-.0099045{col 43}{space 2}  .011225{col 54}{space 1}   -0.88{col 63}{space 3}0.378{col 71}{space 4}-.0319186{col 84}{space 3} .0121096
{txt}{space 21}2003#EU  {c |}{col 31}{res}{space 2}-.4125493{col 43}{space 2} .0301587{col 54}{space 1}  -13.68{col 63}{space 3}0.000{col 71}{space 4}-.4716955{col 84}{space 3}-.3534032
{txt}{space 21}2003#NA  {c |}{col 31}{res}{space 2} .0002353{col 43}{space 2}  .008436{col 54}{space 1}    0.03{col 63}{space 3}0.978{col 71}{space 4}-.0163091{col 84}{space 3} .0167797
{txt}{space 21}2003#SA  {c |}{col 31}{res}{space 2}-.0399072{col 43}{space 2} .0056128{col 54}{space 1}   -7.11{col 63}{space 3}0.000{col 71}{space 4}-.0509148{col 84}{space 3}-.0288996
{txt}{space 21}2004#AF  {c |}{col 31}{res}{space 2}-.0070339{col 43}{space 2} .0037913{col 54}{space 1}   -1.86{col 63}{space 3}0.064{col 71}{space 4}-.0144693{col 84}{space 3} .0004015
{txt}{space 21}2004#AS  {c |}{col 31}{res}{space 2}-.2121497{col 43}{space 2} .0145921{col 54}{space 1}  -14.54{col 63}{space 3}0.000{col 71}{space 4}-.2407672{col 84}{space 3}-.1835321
{txt}{space 21}2004#AU  {c |}{col 31}{res}{space 2}  .011516{col 43}{space 2} .0089349{col 54}{space 1}    1.29{col 63}{space 3}0.198{col 71}{space 4}-.0060068{col 84}{space 3} .0290389
{txt}{space 21}2004#EU  {c |}{col 31}{res}{space 2}-.3803126{col 43}{space 2} .0300025{col 54}{space 1}  -12.68{col 63}{space 3}0.000{col 71}{space 4}-.4391523{col 84}{space 3} -.321473
{txt}{space 21}2004#NA  {c |}{col 31}{res}{space 2} .0198921{col 43}{space 2} .0087968{col 54}{space 1}    2.26{col 63}{space 3}0.024{col 71}{space 4} .0026402{col 84}{space 3} .0371441
{txt}{space 21}2004#SA  {c |}{col 31}{res}{space 2}-.0375054{col 43}{space 2} .0050675{col 54}{space 1}   -7.40{col 63}{space 3}0.000{col 71}{space 4}-.0474435{col 84}{space 3}-.0275672
{txt}{space 21}2005#AF  {c |}{col 31}{res}{space 2} .0087716{col 43}{space 2} .0046205{col 54}{space 1}    1.90{col 63}{space 3}0.058{col 71}{space 4}-.0002899{col 84}{space 3} .0178331
{txt}{space 21}2005#AS  {c |}{col 31}{res}{space 2}-.1834454{col 43}{space 2} .0143147{col 54}{space 1}  -12.82{col 63}{space 3}0.000{col 71}{space 4}-.2115189{col 84}{space 3} -.155372
{txt}{space 21}2005#AU  {c |}{col 31}{res}{space 2}-.0081032{col 43}{space 2} .0095103{col 54}{space 1}   -0.85{col 63}{space 3}0.394{col 71}{space 4}-.0267545{col 84}{space 3}  .010548
{txt}{space 21}2005#EU  {c |}{col 31}{res}{space 2}-.3241362{col 43}{space 2} .0281849{col 54}{space 1}  -11.50{col 63}{space 3}0.000{col 71}{space 4}-.3794113{col 84}{space 3} -.268861
{txt}{space 21}2005#NA  {c |}{col 31}{res}{space 2} .0590268{col 43}{space 2} .0092117{col 54}{space 1}    6.41{col 63}{space 3}0.000{col 71}{space 4} .0409612{col 84}{space 3} .0770923
{txt}{space 21}2005#SA  {c |}{col 31}{res}{space 2}-.0263339{col 43}{space 2} .0043719{col 54}{space 1}   -6.02{col 63}{space 3}0.000{col 71}{space 4}-.0349079{col 84}{space 3}-.0177599
{txt}{space 21}2006#AF  {c |}{col 31}{res}{space 2} .0063583{col 43}{space 2}  .006227{col 54}{space 1}    1.02{col 63}{space 3}0.307{col 71}{space 4}-.0058539{col 84}{space 3} .0185704
{txt}{space 21}2006#AS  {c |}{col 31}{res}{space 2}-.1887731{col 43}{space 2} .0138741{col 54}{space 1}  -13.61{col 63}{space 3}0.000{col 71}{space 4}-.2159824{col 84}{space 3}-.1615639
{txt}{space 21}2006#AU  {c |}{col 31}{res}{space 2}-.0147558{col 43}{space 2} .0095322{col 54}{space 1}   -1.55{col 63}{space 3}0.122{col 71}{space 4}-.0334499{col 84}{space 3} .0039384
{txt}{space 21}2006#EU  {c |}{col 31}{res}{space 2}-.4253853{col 43}{space 2} .0322754{col 54}{space 1}  -13.18{col 63}{space 3}0.000{col 71}{space 4}-.4886826{col 84}{space 3}-.3620881
{txt}{space 21}2006#NA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2006#SA  {c |}{col 31}{res}{space 2}-.0109045{col 43}{space 2} .0035731{col 54}{space 1}   -3.05{col 63}{space 3}0.002{col 71}{space 4} -.017912{col 84}{space 3} -.003897
{txt}{space 21}2007#AF  {c |}{col 31}{res}{space 2} .0214781{col 43}{space 2} .0070714{col 54}{space 1}    3.04{col 63}{space 3}0.002{col 71}{space 4} .0076098{col 84}{space 3} .0353463
{txt}{space 21}2007#AS  {c |}{col 31}{res}{space 2}-.0899536{col 43}{space 2} .0095182{col 54}{space 1}   -9.45{col 63}{space 3}0.000{col 71}{space 4}-.1086204{col 84}{space 3}-.0712868
{txt}{space 21}2007#AU  {c |}{col 31}{res}{space 2} .0001623{col 43}{space 2} .0059894{col 54}{space 1}    0.03{col 63}{space 3}0.978{col 71}{space 4}-.0115838{col 84}{space 3} .0119084
{txt}{space 21}2007#EU  {c |}{col 31}{res}{space 2}-.3055795{col 43}{space 2} .0273879{col 54}{space 1}  -11.16{col 63}{space 3}0.000{col 71}{space 4}-.3592916{col 84}{space 3}-.2518674
{txt}{space 21}2007#NA  {c |}{col 31}{res}{space 2} .1363445{col 43}{space 2} .0119289{col 54}{space 1}   11.43{col 63}{space 3}0.000{col 71}{space 4} .1129501{col 84}{space 3}  .159739
{txt}{space 21}2007#SA  {c |}{col 31}{res}{space 2} .0080682{col 43}{space 2} .0040826{col 54}{space 1}    1.98{col 63}{space 3}0.048{col 71}{space 4} .0000615{col 84}{space 3} .0160748
{txt}{space 21}2008#AF  {c |}{col 31}{res}{space 2} .0150517{col 43}{space 2} .0062551{col 54}{space 1}    2.41{col 63}{space 3}0.016{col 71}{space 4} .0027844{col 84}{space 3} .0273189
{txt}{space 21}2008#AS  {c |}{col 31}{res}{space 2}-.1196492{col 43}{space 2} .0099329{col 54}{space 1}  -12.05{col 63}{space 3}0.000{col 71}{space 4}-.1391293{col 84}{space 3}-.1001692
{txt}{space 21}2008#AU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2008#EU  {c |}{col 31}{res}{space 2}-.3183994{col 43}{space 2} .0294647{col 54}{space 1}  -10.81{col 63}{space 3}0.000{col 71}{space 4}-.3761844{col 84}{space 3}-.2606144
{txt}{space 21}2008#NA  {c |}{col 31}{res}{space 2} .1264673{col 43}{space 2} .0141817{col 54}{space 1}    8.92{col 63}{space 3}0.000{col 71}{space 4} .0986548{col 84}{space 3} .1542798
{txt}{space 21}2008#SA  {c |}{col 31}{res}{space 2}  .009602{col 43}{space 2} .0040346{col 54}{space 1}    2.38{col 63}{space 3}0.017{col 71}{space 4} .0016894{col 84}{space 3} .0175145
{txt}{space 21}2009#AF  {c |}{col 31}{res}{space 2} .0102302{col 43}{space 2} .0069607{col 54}{space 1}    1.47{col 63}{space 3}0.142{col 71}{space 4}-.0034209{col 84}{space 3} .0238813
{txt}{space 21}2009#AS  {c |}{col 31}{res}{space 2}-.1699579{col 43}{space 2} .0123394{col 54}{space 1}  -13.77{col 63}{space 3}0.000{col 71}{space 4}-.1941575{col 84}{space 3}-.1457583
{txt}{space 21}2009#AU  {c |}{col 31}{res}{space 2}-.0229139{col 43}{space 2} .0122031{col 54}{space 1}   -1.88{col 63}{space 3}0.061{col 71}{space 4}-.0468462{col 84}{space 3} .0010184
{txt}{space 21}2009#EU  {c |}{col 31}{res}{space 2}-.3818583{col 43}{space 2} .0295061{col 54}{space 1}  -12.94{col 63}{space 3}0.000{col 71}{space 4}-.4397245{col 84}{space 3} -.323992
{txt}{space 21}2009#NA  {c |}{col 31}{res}{space 2} .0373197{col 43}{space 2} .0109031{col 54}{space 1}    3.42{col 63}{space 3}0.001{col 71}{space 4} .0159369{col 84}{space 3} .0587025
{txt}{space 21}2009#SA  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AF  {c |}{col 31}{res}{space 2} .0724025{col 43}{space 2}  .009725{col 54}{space 1}    7.44{col 63}{space 3}0.000{col 71}{space 4} .0533302{col 84}{space 3} .0914747
{txt}{space 21}2010#AS  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#AU  {c |}{col 31}{res}{space 2} .0749831{col 43}{space 2} .0188713{col 54}{space 1}    3.97{col 63}{space 3}0.000{col 71}{space 4} .0379734{col 84}{space 3} .1119928
{txt}{space 21}2010#EU  {c |}{col 31}{res}{space 2}        0{col 43}{txt}  (omitted)
{space 21}2010#NA  {c |}{col 31}{res}{space 2} .2642768{col 43}{space 2}  .018451{col 54}{space 1}   14.32{col 63}{space 3}0.000{col 71}{space 4} .2280915{col 84}{space 3} .3004621
{txt}{space 21}2010#SA  {c |}{col 31}{res}{space 2}  .092303{col 43}{space 2} .0138058{col 54}{space 1}    6.69{col 63}{space 3}0.000{col 71}{space 4} .0652277{col 84}{space 3} .1193783
{txt}{space 21}2011#AF  {c |}{col 31}{res}{space 2} .0444437{col 43}{space 2} .0082956{col 54}{space 1}    5.36{col 63}{space 3}0.000{col 71}{space 4} .0281748{col 84}{space 3} .0607127
{txt}{space 21}2011#AS  {c |}{col 31}{res}{space 2}-.0436317{col 43}{space 2} .0062553{col 54}{space 1}   -6.98{col 63}{space 3}0.000{col 71}{space 4}-.0558994{col 84}{space 3}-.0313641
{txt}{space 21}2011#AU  {c |}{col 31}{res}{space 2} .0725222{col 43}{space 2} .0184675{col 54}{space 1}    3.93{col 63}{space 3}0.000{col 71}{space 4} .0363044{col 84}{space 3} .1087399
{txt}{space 21}2011#EU  {c |}{col 31}{res}{space 2} -.144908{col 43}{space 2} .0147522{col 54}{space 1}   -9.82{col 63}{space 3}0.000{col 71}{space 4}-.1738395{col 84}{space 3}-.1159764
{txt}{space 21}2011#NA  {c |}{col 31}{res}{space 2} .1321904{col 43}{space 2} .0111089{col 54}{space 1}   11.90{col 63}{space 3}0.000{col 71}{space 4}  .110404{col 84}{space 3} .1539768
{txt}{space 21}2011#SA  {c |}{col 31}{res}{space 2} .0604612{col 43}{space 2} .0102735{col 54}{space 1}    5.89{col 63}{space 3}0.000{col 71}{space 4} .0403132{col 84}{space 3} .0806091
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .6159341{col 43}{space 2} .0062993{col 54}{space 1}   97.78{col 63}{space 3}0.000{col 71}{space 4} .6035802{col 84}{space 3}  .628288
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .86034909
                      {txt}sigma_e {c |} {res} .13880562
                          {txt}rho {c |} {res} .97463091{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. 
. esttab using "../output/table6_upstream_drought.rtf", replace se r2(3) sca("N_clust N subbasins" "N_g N cells") ///
>    nomti nonote obslast label star( + .10 * .05 ** .01 ) onecell drop(*dev_* *.year* _cons) /*
> */ title("Table 6. Effects of upstream drought and dams") /*
> */ addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects. Restricted to areas with at least one upstream sub-basin.")
{res}{txt}(output written to {browse  `"../output/table6_upstream_drought.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. 
. **# Table 7. Irrigation and land use
. 
. *Generate shares of cropland that are irrigated --- rather than total land
. foreach var in irrig irrig_sw irrig_gw {c -(}
{txt}  2{com}. gen `var'_crop=`var'/cropland
{txt}  3{com}. replace `var'_crop=0 if cropland==0
{txt}  4{com}. replace `var'_crop=1 if `var'_crop>1
{txt}  5{com}. {c )-}
{txt}(133,349 missing values generated)
(116,076 real changes made)
(44,947 real changes made)
(133,349 missing values generated)
(116,076 real changes made)
(36,321 real changes made)
(133,349 missing values generated)
(116,076 real changes made)
(23,950 real changes made)

{com}. gen nonirrig_crop=cropland-irrig_crop
{txt}(17,273 missing values generated)

{com}. label var nonirrig_crop "Nonirrigated cropland"
{txt}
{com}. label var irrig_sw_crop "Surface water irrigated cropland"
{txt}
{com}. label var irrig_gw_crop "Groundwater irrigated cropland"
{txt}
{com}. 
. foreach var in urban urbanshare cropland irrig_crop irrig_sw_crop irrig_gw_crop nonirrig_crop {c -(}
{txt}  2{com}.  gen esmdsi_`var'=esmdsi*`var'  
{txt}  3{com}.  local lbl: variable label `var'
{txt}  4{com}.  label var esmdsi_`var' "`lbl'*drought"
{txt}  5{com}.  {c )-}
{txt}(17,431 missing values generated)
(64,183 missing values generated)
(33,679 missing values generated)
(17,431 missing values generated)
(17,431 missing values generated)
(17,431 missing values generated)
(33,679 missing values generated)

{com}. 
. summarize irrig*crop, detail

                         {txt}irrig_crop
{hline 61}
      Percentiles      Smallest
 1%    {res}        0              0
{txt} 5%    {res}        0              0
{txt}10%    {res}        0              0       {txt}Obs         {res}    534,103
{txt}25%    {res}        0              0       {txt}Sum of wgt. {res}    534,103

{txt}50%    {res} .0054991                      {txt}Mean          {res} .1701714
                        {txt}Largest       Std. dev.     {res} .3118691
{txt}75%    {res} .1590486              1
{txt}90%    {res} .8126245              1       {txt}Variance      {res} .0972624
{txt}95%    {res}        1              1       {txt}Skewness      {res} 1.870568
{txt}99%    {res}        1              1       {txt}Kurtosis      {res} 5.035005

              {txt}Surface water irrigated cropland
{hline 61}
      Percentiles      Smallest
 1%    {res}        0              0
{txt} 5%    {res}        0              0
{txt}10%    {res}        0              0       {txt}Obs         {res}    534,103
{txt}25%    {res}        0              0       {txt}Sum of wgt. {res}    534,103

{txt}50%    {res}  .002782                      {txt}Mean          {res} .1356869
                        {txt}Largest       Std. dev.     {res} .2821522
{txt}75%    {res} .0900221              1
{txt}90%    {res} .5617907              1       {txt}Variance      {res} .0796098
{txt}95%    {res}        1              1       {txt}Skewness      {res} 2.295378
{txt}99%    {res}        1              1       {txt}Kurtosis      {res} 6.937806

               {txt}Groundwater irrigated cropland
{hline 61}
      Percentiles      Smallest
 1%    {res}        0              0
{txt} 5%    {res}        0              0
{txt}10%    {res}        0              0       {txt}Obs         {res}    534,103
{txt}25%    {res}        0              0       {txt}Sum of wgt. {res}    534,103

{txt}50%    {res} .0002627                      {txt}Mean          {res} .0829019
                        {txt}Largest       Std. dev.     {res} .2300348
{txt}75%    {res} .0199683              1
{txt}90%    {res} .2155447              1       {txt}Variance      {res}  .052916
{txt}95%    {res}  .780349              1       {txt}Skewness      {res} 3.277499
{txt}99%    {res}        1              1       {txt}Kurtosis      {res} 12.67106
{txt}
{com}.  
. 
. eststo: xtreg ihslights esmdsi esmdsi_urbanshare esmdsi_cropland $weather if flare==0 , fe vce(cluster conpfaf4) absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.672e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 5.761e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.303
{txt}Iteration 2:  Maximum absolute difference = {res} 1.004e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   409,116
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    34,093

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2206{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0185{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0020{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}6{txt}, {res}5961{txt}){col 67}={col 70}{res}    31.57
{txt}corr(u_i, Xb) = {res}0.0443{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:5,962} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0118973{col 43}{space 2} .0017124{col 54}{space 1}   -6.95{col 63}{space 3}0.000{col 71}{space 4}-.0152542{col 84}{space 3}-.0085404
{txt}{space 12}esmdsi_urbanshare {c |}{col 31}{res}{space 2}-.0051525{col 43}{space 2} .0112791{col 54}{space 1}   -0.46{col 63}{space 3}0.648{col 71}{space 4}-.0272637{col 84}{space 3} .0169586
{txt}{space 14}esmdsi_cropland {c |}{col 31}{res}{space 2} .0061893{col 43}{space 2} .0092256{col 54}{space 1}    0.67{col 63}{space 3}0.502{col 71}{space 4}-.0118962{col 84}{space 3} .0242748
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0116568{col 43}{space 2}  .002127{col 54}{space 1}   -5.48{col 63}{space 3}0.000{col 71}{space 4}-.0158264{col 84}{space 3}-.0074871
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0126427{col 43}{space 2} .0019955{col 54}{space 1}   -6.34{col 63}{space 3}0.000{col 71}{space 4}-.0165545{col 84}{space 3}-.0087309
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0033758{col 43}{space 2} .0014529{col 54}{space 1}   -2.32{col 63}{space 3}0.020{col 71}{space 4} -.006224{col 84}{space 3}-.0005277
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5375786{col 43}{space 2} .0006349{col 54}{space 1}  846.71{col 63}{space 3}0.000{col 71}{space 4}  .536334{col 84}{space 3} .5388232
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .86350261
                      {txt}sigma_e {c |} {res} .13171587
                          {txt}rho {c |} {res} .97726161{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. 
. eststo: xtreg ihslights esmdsi esmdsi_urbanshare esmdsi_irrig_sw_crop esmdsi_irrig_gw_crop esmdsi_nonirrig_crop $weather if flare==0 , fe vce(cluster conpfaf4) absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.672e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 5.761e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.303
{txt}Iteration 2:  Maximum absolute difference = {res} 1.231e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   409,116
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    34,093

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2208{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0175{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0020{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}8{txt}, {res}5961{txt}){col 67}={col 70}{res}    24.83
{txt}corr(u_i, Xb) = {res}0.0440{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:5,962} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0125414{col 43}{space 2} .0020262{col 54}{space 1}   -6.19{col 63}{space 3}0.000{col 71}{space 4}-.0165135{col 84}{space 3}-.0085692
{txt}{space 12}esmdsi_urbanshare {c |}{col 31}{res}{space 2}-.0060663{col 43}{space 2} .0111363{col 54}{space 1}   -0.54{col 63}{space 3}0.586{col 71}{space 4}-.0278975{col 84}{space 3} .0157648
{txt}{space 9}esmdsi_irrig_sw_crop {c |}{col 31}{res}{space 2}-.0022267{col 43}{space 2} .0103762{col 54}{space 1}   -0.21{col 63}{space 3}0.830{col 71}{space 4}-.0225677{col 84}{space 3} .0181144
{txt}{space 9}esmdsi_irrig_gw_crop {c |}{col 31}{res}{space 2} .0338845{col 43}{space 2} .0103495{col 54}{space 1}    3.27{col 63}{space 3}0.001{col 71}{space 4} .0135957{col 84}{space 3} .0541734
{txt}{space 9}esmdsi_nonirrig_crop {c |}{col 31}{res}{space 2}-.0035678{col 43}{space 2} .0089078{col 54}{space 1}   -0.40{col 63}{space 3}0.689{col 71}{space 4}-.0210302{col 84}{space 3} .0138946
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2} -.011702{col 43}{space 2} .0021262{col 54}{space 1}   -5.50{col 63}{space 3}0.000{col 71}{space 4}-.0158701{col 84}{space 3}-.0075339
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0126933{col 43}{space 2} .0019919{col 54}{space 1}   -6.37{col 63}{space 3}0.000{col 71}{space 4}-.0165982{col 84}{space 3}-.0087884
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0033771{col 43}{space 2} .0014518{col 54}{space 1}   -2.33{col 63}{space 3}0.020{col 71}{space 4}-.0062232{col 84}{space 3}-.0005309
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5375891{col 43}{space 2} .0006317{col 54}{space 1}  850.95{col 63}{space 3}0.000{col 71}{space 4} .5363507{col 84}{space 3} .5388276
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .86349294
                      {txt}sigma_e {c |} {res} .13169787
                          {txt}rho {c |} {res} .97726718{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. 
. eststo: xtreg ihslights esmdsi esmdsi_urbanshare esmdsi_irrig_sw_crop esmdsi_irrig_gw_crop esmdsi_nonirrig_crop  esmdsi_ifdam esmdsi_ifhydro esmdsi_alluv esmdsi_loc_shal esmdsi_complex esmdsi_ihsgwresource $weather if flare==0 , fe vce(cluster conpfaf4) absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 8.231e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 4.429e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.307
{txt}Iteration 2:  Maximum absolute difference = {res} 1.345e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   407,280
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    33,940

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2214{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0166{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0024{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}14{txt}, {res}5929{txt}){col 67}={col 70}{res}    15.17
{txt}corr(u_i, Xb) = {res}0.0474{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:5,930} clusters in {res:conpfaf4})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0239366{col 43}{space 2} .0043681{col 54}{space 1}   -5.48{col 63}{space 3}0.000{col 71}{space 4}-.0324997{col 84}{space 3}-.0153736
{txt}{space 12}esmdsi_urbanshare {c |}{col 31}{res}{space 2}-.0126864{col 43}{space 2} .0108928{col 54}{space 1}   -1.16{col 63}{space 3}0.244{col 71}{space 4}-.0340402{col 84}{space 3} .0086674
{txt}{space 9}esmdsi_irrig_sw_crop {c |}{col 31}{res}{space 2}-.0090007{col 43}{space 2} .0102137{col 54}{space 1}   -0.88{col 63}{space 3}0.378{col 71}{space 4}-.0290233{col 84}{space 3} .0110219
{txt}{space 9}esmdsi_irrig_gw_crop {c |}{col 31}{res}{space 2} .0333745{col 43}{space 2} .0102334{col 54}{space 1}    3.26{col 63}{space 3}0.001{col 71}{space 4} .0133133{col 84}{space 3} .0534357
{txt}{space 9}esmdsi_nonirrig_crop {c |}{col 31}{res}{space 2} -.008279{col 43}{space 2} .0088654{col 54}{space 1}   -0.93{col 63}{space 3}0.350{col 71}{space 4}-.0256583{col 84}{space 3} .0091004
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0154497{col 43}{space 2} .0042183{col 54}{space 1}    3.66{col 63}{space 3}0.000{col 71}{space 4} .0071803{col 84}{space 3}  .023719
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0188404{col 43}{space 2} .0054733{col 54}{space 1}   -3.44{col 63}{space 3}0.001{col 71}{space 4}  -.02957{col 84}{space 3}-.0081108
{txt}{space 17}esmdsi_alluv {c |}{col 31}{res}{space 2} .0083094{col 43}{space 2}  .004857{col 54}{space 1}    1.71{col 63}{space 3}0.087{col 71}{space 4}-.0012121{col 84}{space 3} .0178308
{txt}{space 14}esmdsi_loc_shal {c |}{col 31}{res}{space 2} .0034445{col 43}{space 2} .0037442{col 54}{space 1}    0.92{col 63}{space 3}0.358{col 71}{space 4}-.0038956{col 84}{space 3} .0107846
{txt}{space 15}esmdsi_complex {c |}{col 31}{res}{space 2} .0022796{col 43}{space 2} .0044061{col 54}{space 1}    0.52{col 63}{space 3}0.605{col 71}{space 4}-.0063581{col 84}{space 3} .0109172
{txt}{space 9}esmdsi_ihsgwresource {c |}{col 31}{res}{space 2} .0186729{col 43}{space 2} .0036241{col 54}{space 1}    5.15{col 63}{space 3}0.000{col 71}{space 4} .0115684{col 84}{space 3} .0257775
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0116012{col 43}{space 2} .0021218{col 54}{space 1}   -5.47{col 63}{space 3}0.000{col 71}{space 4}-.0157606{col 84}{space 3}-.0074418
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0127874{col 43}{space 2} .0019939{col 54}{space 1}   -6.41{col 63}{space 3}0.000{col 71}{space 4}-.0166961{col 84}{space 3}-.0088787
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0033415{col 43}{space 2} .0014444{col 54}{space 1}   -2.31{col 63}{space 3}0.021{col 71}{space 4}-.0061731{col 84}{space 3}-.0005099
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5369972{col 43}{space 2} .0006477{col 54}{space 1}  829.08{col 63}{space 3}0.000{col 71}{space 4} .5357274{col 84}{space 3} .5382669
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .86267265
                      {txt}sigma_e {c |} {res} .13179331
                          {txt}rho {c |} {res} .97719265{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est3{txt} stored)

{com}. 
. esttab using "../output/table7_landuse_irrig.rtf", replace se r2(3) sca("N_clust N subbasins" "N_g N cells") ///
>    nomti nonote obslast label star( + .10 * .05 ** .01 ) onecell drop(*dev_* _cons) /*
> */ title("Table 7. Effects of land use and irrigation") /*
> */ addnote("Notes: Dependent variable is inverse hyperbolic sine of nighttime lights index. Standard errors in parentheses are clustered by 4-digit Pfafstetter subbasin. All models include a cubic in temperature, fixed effects for cells, and continent*year effects.")
{res}{txt}(output written to {browse  `"../output/table7_landuse_irrig.rtf"'})

{com}. eststo clear
{txt}
{com}. 
. 
. ** Table 8. Country effects
. 
. 
. **# Create explicit dataset of country-year effects
. *Note: country-year effects xtreg takes a long time, so effects saved in country_year_effect.dta to save time once run
. 
. egen country_year_id = group(country year)
{txt}(58,507 missing values generated)

{com}. 
. *set up file to merge country-year effects back into with identifiers
. preserve
{txt}
{com}. collapse (firstnm) country year, by(country_year_id)
{res}{txt}
{com}. tempfile id_map
{txt}
{com}. save `id_map'
{txt}{p 0 4 2}
file {bf}
C:\Users\hilar\AppData\Local\Temp\ST_662c_000002.tmp{rm}
saved
as .dta format
{p_end}

{com}. restore
{txt}
{com}. 
. * run with explicity country-year coefficients
. quietly: xtreg ihslights i.esmdsi##i.ifdam i.esmdsi#i.ifhydro $weather i.country_year_id if flare==0, fe vce(cluster country)  
{txt}
{com}. 
. 
. *  Prepare file to make each result a different obs
. tempfile results_file
{txt}
{com}. postfile results_post country_year_id_num country_year_effect using `results_file', replace
{txt}{p 0 4 2}
(file {bf}
C:\Users\hilar\AppData\Local\Temp\ST_662c_000003.tmp{rm}
not found)
{p_end}

{com}. 
. * Loop through each unique country-year ID and save the coefficient.
. quietly: levelsof country_year_id, local(ids)
{txt}
{com}. foreach id of local ids {c -(}
{txt}  2{com}.     local coeff_value = _b[`id'.country_year_id]
{txt}  3{com}.     post results_post (`id') (`coeff_value')
{txt}  4{com}. {c )-}
{txt}
{com}. postclose results_post
{txt}
{com}. 
. * Load the results and merge with the country/year identifiers.
. use `results_file', clear
{txt}
{com}. rename country_year_id_num country_year_id
{res}{txt}
{com}. 
. merge 1:1 country_year_id using `id_map'
{res}
{txt}{col 5}Result{col 33}Number of obs
{col 5}{hline 41}
{col 5}Not matched{col 30}{res}               1
{txt}{col 9}from master{col 30}{res}               0{txt}  (_merge==1)
{col 9}from using{col 30}{res}               1{txt}  (_merge==2)

{col 5}Matched{col 30}{res}           1,764{txt}  (_merge==3)
{col 5}{hline 41}

{com}. 
. drop if _merge!=3
{txt}(1 observation deleted)

{com}. drop _merge country_year_id
{txt}
{com}. 
. 
. save "../data/country_year_effects.dta", replace
{txt}{p 0 4 2}
file {bf}
../data/country_year_effects.dta{rm}
saved
{p_end}

{com}. 
. 
. **#  Table 8. Country heterogeneity
. 
. use for_reg, clear
{txt}
{com}. 
. merge m:1 country year using "../data/country_year_effects.dta"
{res}
{txt}{col 5}Result{col 33}Number of obs
{col 5}{hline 41}
{col 5}Not matched{col 30}{res}          58,507
{txt}{col 9}from master{col 30}{res}          58,507{txt}  (_merge==1)
{col 9}from using{col 30}{res}               0{txt}  (_merge==2)

{col 5}Matched{col 30}{res}         475,596{txt}  (_merge==3)
{col 5}{hline 41}

{com}. drop if _merge==2
{txt}(0 observations deleted)

{com}. drop _merge
{txt}
{com}. 
. egen cellid=group(x y)
{res}{txt}
{com}. xtset cellid year
{res}
{col 1}{txt:Panel variable: }{res:cellid}{txt: (unbalanced)}
{p 1 16 2}{txt:Time variable: }{res:year}{txt:, }{res:{bind:2000}}{txt: to }{res:{bind:2011}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. 
. foreach var in ifdam ifhydro  {c -(}
{txt}  2{com}.         local lbl: variable label `var'
{txt}  3{com}. *extreme/severe/moderate
.         gen esmdsi_`var'=(dsi_cat11<=3)*`var'
{txt}  4{com}.         gen esmpdsi_`var'=(pdsi_cat<=3)*`var'
{txt}  5{com}.         label var esmdsi_`var' "`lbl'*drought"
{txt}  6{com}.         label var esmpdsi_`var' "`lbl'*drought"
{txt}  7{com}.         {c )-}
{txt}(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)
(40,860 missing values generated)

{com}. 
. 
. bysort country year: egen esmdsi_country=mean(esmdsi)
{txt}(17,431 missing values generated)

{com}. label var esmdsi_country "Country average drought"
{txt}
{com}. * Statistic reported in table about frequency of country=-level drought
. table esmdsi, stat(mean esmdsi_country) stat(median esmdsi_country)
{res}
{smcl}
{reset}{...}
{hline 31}{c -}{c TT}{c -}{c -}{hline 8}{c -}{c -}{c -}{hline 8}
{space 31} {c |}  {space 4}Mean   {space 2}Median
{hline 31}{c -}{c +}{c -}{c -}{hline 8}{c -}{c -}{c -}{hline 8}
Moderate or worse drought (DSI) {c |}  {space 8}   {space 8}
  0{space 28} {c |}  {result:.1234992}   {result:.0912281}
  1{space 28} {c |}  {result:.3123664}   {space 1}{result:.255877}
  Total{space 24} {c |}  {result:.1522552}   {result:.1139601}
{hline 31}{c -}{c BT}{c -}{c -}{hline 8}{c -}{c -}{c -}{hline 8}

{com}. 
. 
. egen countryXyear=group(country year)
{txt}(58,507 missing values generated)

{com}. egen contXyear=group(cont year)
{res}{txt}(58,291 missing values generated)

{com}. 
. ** country year effects
. eststo: xtreg ihslights esmdsi esmdsi_ifdam esmdsi_ifhydro $weather if flare==0, fe vce(cluster country)  absorb(countryXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 7.339e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 5.496e-14

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     4.271
{txt}Iteration 2:  Maximum absolute difference = {res} 1.169e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,684
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,307

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.3317{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0261{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0028{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}6{txt}, {res}146{txt}){col 67}={col 70}{res}    26.11
{txt}corr(u_i, Xb) = {res}0.0482{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 6}countryXyear{col 19}{c |}{res}{col 0}  1,764
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:147} clusters in {res:country})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0064571{col 43}{space 2} .0013845{col 54}{space 1}   -4.66{col 63}{space 3}0.000{col 71}{space 4}-.0091934{col 84}{space 3}-.0037209
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0121201{col 43}{space 2} .0060509{col 54}{space 1}    2.00{col 63}{space 3}0.047{col 71}{space 4} .0001614{col 84}{space 3} .0240788
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0055584{col 43}{space 2} .0056626{col 54}{space 1}   -0.98{col 63}{space 3}0.328{col 71}{space 4}-.0167498{col 84}{space 3} .0056329
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0064822{col 43}{space 2} .0033816{col 54}{space 1}   -1.92{col 63}{space 3}0.057{col 71}{space 4}-.0131654{col 84}{space 3}  .000201
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0036199{col 43}{space 2} .0046294{col 54}{space 1}   -0.78{col 63}{space 3}0.436{col 71}{space 4}-.0127693{col 84}{space 3} .0055295
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0029907{col 43}{space 2} .0018341{col 54}{space 1}   -1.63{col 63}{space 3}0.105{col 71}{space 4}-.0066155{col 84}{space 3}  .000634
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5674835{col 43}{space 2} .0014427{col 54}{space 1}  393.35{col 63}{space 3}0.000{col 71}{space 4} .5646322{col 84}{space 3} .5703347
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90318533
                      {txt}sigma_e {c |} {res} .12430126
                          {txt}rho {c |} {res} .98141133{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est1{txt} stored)

{com}. quietly estadd local c_y  "Yes", replace
{txt}
{com}. quietly estadd local ct_y "No", replace 
{txt}
{com}. 
. 
. ** explain country year effects
. eststo: xtreg country_year_effect esmdsi esmdsi_ifdam esmdsi_ifhydro $weather if flare==0, fe vce(cluster country) absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.320e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.236e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}     .7556
{txt}Iteration 2:  Maximum absolute difference = {res} 6.683e-16

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,684
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,307

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.6109{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0000{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0020{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}6{txt}, {res}146{txt}){col 67}={col 70}{res}     3.86
{txt}corr(u_i, Xb) = {res}-0.0077{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0013

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:147} clusters in {res:country})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}          country_year_effect{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2}-.0089238{col 43}{space 2} .0032116{col 54}{space 1}   -2.78{col 63}{space 3}0.006{col 71}{space 4} -.015271{col 84}{space 3}-.0025766
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0047372{col 43}{space 2} .0031826{col 54}{space 1}    1.49{col 63}{space 3}0.139{col 71}{space 4}-.0015528{col 84}{space 3} .0110272
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0109173{col 43}{space 2}  .004049{col 54}{space 1}   -2.70{col 63}{space 3}0.008{col 71}{space 4}-.0189196{col 84}{space 3} -.002915
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2} -.003956{col 43}{space 2} .0037888{col 54}{space 1}   -1.04{col 63}{space 3}0.298{col 71}{space 4}-.0114439{col 84}{space 3} .0035319
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0052735{col 43}{space 2} .0025453{col 54}{space 1}   -2.07{col 63}{space 3}0.040{col 71}{space 4} -.010304{col 84}{space 3} -.000243
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0006619{col 43}{space 2} .0014331{col 54}{space 1}   -0.46{col 63}{space 3}0.645{col 71}{space 4}-.0034942{col 84}{space 3} .0021704
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2}-.0173313{col 43}{space 2} .0008714{col 54}{space 1}  -19.89{col 63}{space 3}0.000{col 71}{space 4}-.0190534{col 84}{space 3}-.0156091
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .10178868
                      {txt}sigma_e {c |} {res} .05446368
                          {txt}rho {c |} {res} .77742615{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est2{txt} stored)

{com}. quietly estadd local c_y  "No", replace
{txt}
{com}. quietly estadd local ct_y "Yes", replace
{txt}
{com}. 
. ** country level drought
. eststo: xtreg ihslights esmdsi esmdsi_country esmdsi_ifdam esmdsi_ifhydro $weather if flare==0, fe vce(cluster country)  absorb(contXyear)
{res}
{txt}Halperin APM for regression coefficients:

{txt}Dependent variable:
{txt}Iteration 1:  Maximum absolute difference ={res} 9.905e-15

{txt}Independent variables:
{txt}Iteration 1:  Maximum absolute difference ={res} 2.236e-13

{p}{txt}Halperin APM for panel effects:{p_end}
{res}{txt}Iteration 1:  Maximum absolute difference = {res}      4.27
{txt}Iteration 2:  Maximum absolute difference = {res} 1.178e-15

{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}   447,684
{txt}Group variable: {res}cellid{txt}{col 49}Number of groups{col 67}={col 69}{res}    37,307

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.2213{col 63}{txt}min{col 67}={col 69}{res}        12
{txt}     Between = {res}0.0172{col 63}{txt}avg{col 67}={col 69}{res}      12.0
{txt}     Overall = {res}0.0014{col 63}{txt}max{col 67}={col 69}{res}        12

{txt}{col 49}F({res}7{txt}, {res}146{txt}){col 67}={col 70}{res}    13.01
{txt}corr(u_i, Xb) = {res}0.0358{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 18}{c TT}{hline 7}
Absorbed variable{col 19}{c |}{col 21}Levels
{hline 18}{c +}{hline 7}
{col 9}contXyear{col 19}{c |}{res}{col 0}     72
{txt}{hline 18}{c BT}{hline 7}
{res}{txt}{ralign 95:(Std. err. adjusted for {res:147} clusters in {res:country})}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                    ihslights{col 31}{c |} Coefficient{col 43}  std. err.{col 55}      t{col 63}   P>|t|{col 71}     [95% con{col 84}f. interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}esmdsi {c |}{col 31}{res}{space 2} -.006657{col 43}{space 2} .0020829{col 54}{space 1}   -3.20{col 63}{space 3}0.002{col 71}{space 4}-.0107736{col 84}{space 3}-.0025403
{txt}{space 15}esmdsi_country {c |}{col 31}{res}{space 2}-.0535497{col 43}{space 2} .0190565{col 54}{space 1}   -2.81{col 63}{space 3}0.006{col 71}{space 4}-.0912119{col 84}{space 3}-.0158874
{txt}{space 17}esmdsi_ifdam {c |}{col 31}{res}{space 2} .0196987{col 43}{space 2} .0087431{col 54}{space 1}    2.25{col 63}{space 3}0.026{col 71}{space 4} .0024193{col 84}{space 3} .0369781
{txt}{space 15}esmdsi_ifhydro {c |}{col 31}{res}{space 2}-.0188379{col 43}{space 2} .0078532{col 54}{space 1}   -2.40{col 63}{space 3}0.018{col 71}{space 4}-.0343584{col 84}{space 3}-.0033173
{txt}{space 22}dev_tmp {c |}{col 31}{res}{space 2}-.0100066{col 43}{space 2} .0046345{col 54}{space 1}   -2.16{col 63}{space 3}0.032{col 71}{space 4}-.0191661{col 84}{space 3}-.0008472
{txt}{space 29} {c |}
{space 10}c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0107428{col 43}{space 2} .0040964{col 54}{space 1}   -2.62{col 63}{space 3}0.010{col 71}{space 4}-.0188388{col 84}{space 3}-.0026469
{txt}{space 29} {c |}
c.dev_tmp#c.dev_tmp#c.dev_tmp {c |}{col 31}{res}{space 2}-.0040454{col 43}{space 2}  .002465{col 54}{space 1}   -1.64{col 63}{space 3}0.103{col 71}{space 4} -.008917{col 84}{space 3} .0008263
{txt}{space 29} {c |}
{space 24}_cons {c |}{col 31}{res}{space 2} .5775077{col 43}{space 2}  .002506{col 54}{space 1}  230.45{col 63}{space 3}0.000{col 71}{space 4}  .572555{col 84}{space 3} .5824605
{txt}{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                      sigma_u {c |} {res} .90298665
                      {txt}sigma_e {c |} {res} .13390353
                          {txt}rho {c |} {res} .97848334{txt}   (fraction of variance due to u_i)
{hline 30}{c BT}{hline 64}
({res}est3{txt} stored)

{com}. quietly estadd local c_y  "No", replace
{txt}
{com}. quietly estadd local ct_y "Yes", replace
{txt}
{com}. 
. 
. 
. esttab using "../output/table8_country.rtf", replace se r2(3) sca("c_y Country*year effects" "ct_y Continent*year effects" "N_clust N countries" "N_g N cells") nomti nonote obslast label noconstant onecell star( + .10 * .05 ** .01 ) drop(*dev_tmp*  _cons)  /*
> */ title("Table 8. Drought and dam impacts, country-year effects") /*
> */ addnote("Notes: Standard errors in parentheses are clustered by country. All models include a cubic in temperature and fixed effects for cells.")
{res}{txt}(output written to {browse  `"../output/table8_country.rtf"'})

{com}.  eststo clear
{txt}
{com}.  
. timer off 1
{txt}
{com}. timer list 1
{res}   1:    731.46 /        1 =     731.4600
{txt}
{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\hilar\Box\lights_2022\replication package\code\reg_main.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}11 Jan 2026, 10:04:12
{txt}{.-}
{smcl}
{txt}{sf}{ul off}